answersLogoWhite

0


Best Answer

To concatenate strings in PHP, you use the . (dot) character.

For example:

$str = "String1" . "String2";

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What character allows you to concatenate strings in PHP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is use of dot in php?

The dot (.) operator in PHP is used to concatenate strings. For instance:$start = "Big";$end = "Bird";echo $start . ' ' . $end;This code would produce the output:Big Bird


Which sign is used to concatenate two strings?

That depends on the programming language. Most languages use the "+" sign, but a few use other signs. For example, PHP uses the dot.


Where can a tutorial in query strings in PHP be viewed?

There are several places where tutorials can be found for query strings in PHP. One is Learning Processing which is good if you are unfamiliar with PHP. Code Diesel has a step-by-step tutorial offering easily followed examples of how to fix query strings. PHP Manuel has a good tutorial for more advanced users.


What is PHP enabled host?

A host that allows you to write in PHP


How to use strings with PHP and MySQL?

If you will see this example as below, this may help. <?php $string = mysql_real_escape_string($string); $sql = "insert into stringtable(mystring) values('$string')"; ?>


Is Microsoft Access compatible with PHP?

Yes. PHP supports an API called ODBC that allows it to interact with Microsoft Access databases.


Which kind of service is php hosting?

PHP is a scripting language used for web servers and application development. PHP hosting is a web hosting service that allows for more complex site because is supports the PHP scripting language.


What is php 5.1 software?

That's PHP Engine.. Allow you to develop PHP Scripts.. you can use it to develop PHP Scripts and test it on your local machine before you send it to server.. (your website)


What does PHP stand for?

PHP, or Hypertext Preprocessor, is a programming language that allows for the user to have more control over the HTML that makes up a web page. PHP allows for many more functions than HTML does, such as DIV tables, login functions, and graphical displays. PHP was originally known as Personal Home Page, which describes the purpose of the language. PHP works alongside HTML within the same document which allows for users to organize and display information within a web browser much easier than other programming languages. PHP is easy to learn and allows for users to make a web page look and behave exactly as they want it to.


What is PHP Delimiter?

Delimiter is a special character or a symbol to seperate the string


What is PHP data coding?

PHP data coding is softwares that allows or has frameworks which can make PHP input to it's own script language. So you may code programs for example with PHP, just that it has to be extended PHP because of new functions and features. It may also be application coding for the web.


How are placeholders used in PHP database programming?

Placeholders in an abstraction layer such as PDO in PHP allows for caching and security in database queries (they fight SQL injection).