PHP Concatenation Operator

PHP Concatenation Operator

Hi friends,

Can any one guide me how to use the concatenation string operator in PHP?

View Answers

February 1, 2011 at 7:00 PM

Hi,

You can find the examples and how to use the PHP Concatenation string Operator Articles. For more details visit

PHP Concatenation Operator


November 17, 2011 at 3:18 PM

Php Concatenation Operator;

$txt1="Hi"; $txt2="How are you"

echo $txt1." ".$txt2; ?>


November 17, 2011 at 3:18 PM

Php Concatenation Operator;

$txt1="Hi"; $txt2="How are you"

echo $txt1." ".$txt2; ?>


November 17, 2011 at 3:18 PM

Php Concatenation Operator;

$txt1="Hi"; $txt2="How are you"

echo $txt1." ".$txt2; ?>









Related Tutorials/Questions & Answers:
PHP Concatenation Operator
PHP Concatenation Operator  Hi friends, Can any one guide me how to use the concatenation string operator in PHP
PHP Concatenation Operator
The only one string operator in PHP is concatenation operator (.) that is used for putting two string values together; e.g. <?php $txt1=“Hello... the concatenation operator two times. This is because we had to insert a third string (a space
Advertisements
Explain the ternary conditional operator in PHP?
Explain the ternary conditional operator in PHP?  Explain the ternary conditional operator in PHP
PHP String Operator
String Operator: In PHP there are only two operators are available for strings, first one is "." operator, and another is ".= " operator. Basically both does the same but with a little difference. First operator
PHP Arithmetic Operator
(Unary Operator):ADS_TO_REPLACE_1 <?php $a=-12; echo $a."<...:ADS_TO_REPLACE_7 -14 Example (Binary operator): <?php ADS_TO_REPLACE_8...Arithmetic Operators: These are the most basic kind of operators. The PHP
PHP Comparison Operator
Comparison Operator: It is another kind of operator supported by PHP, with this operator you can compare two variables, whether the variables are equal or not, which variable is larger, which one is smaller etc. PHP provides
PHP Bitwise Operator
Learn PHP Bitwise Operator: It is another kind of operator ,called bitwise operator and  supported by PHP. It is so called because instead of operating... number, that's why it is known as bitwise operator.   Example of PHP
PHP Instanceof Operator
Type Operators: This is another kind of operator, instanceof, this operator... not is used. Example: <?php ADS_TO_REPLACE_2 class A { var $var;ADS... A); ?> Output:ADS_TO_REPLACE_6 bool(true) Example: <?php ADS
PHP SQL LIKE Operator
PHP SQL LIKE Operator       This example illustrates how to use the like operator in sql query. The LIKE operator is used in a WHERE clause to search for  matching strings based
PHP SQL LIKE Operator
PHP SQL LIKE Operator This example illustrates how to use the like operator in sql query. The LIKE operator is used in a WHERE clause to search... of likeOperator.phpADS_TO_REPLACE_2 <?php   
PHP Logical Operator
then we need to use or (||) operator. There are many more operators... precedences. ADS_TO_REPLACE_1 Example: <?php $a=12;ADS_TO_REPLACE_2..._TO_REPLACE_8 Example: <?php $a=0;ADS_TO_REPLACE_9 $b=45; var_dump
PHP Array Operator
Array Operators: In PHP there are many operators are available which works..., equality etc. '+' operator is used to get the union of two arrays... of array a are: Array ( [J] => Java [P] => PHP [F] => Flex ) Values
concatenation of Two bytes in C
concatenation of Two bytes in C  Hi, I need to concatenate two bytes array in C.How to do that. bytes[0] = (n >> 24) & 0xFF; bytes[1] = (n >> 16) & 0xFF; bytes[2] = (n >> 8) & 0xFF; bytes[3] = n &
like operator
like operator  how to select exact value using like operator in php
PHP Increment Decrement Operator
PHP Incrementing and Decrementing variables: PHP follows very common style..., e.g. if we perform  'Z'+1 then PHP will display 'AA'..._TO_REPLACE_1 <?php $a=12; echo "Pre increment value
AND operator in hibernate.
AND operator in hibernate.  How to use AND operator in hibernate
OR operator in hibernate.
OR operator in hibernate.  How to use OR operator in hibernate
What is the % operator?
What is the % operator?   Hi, What is the % operator? thanks
PHP SQL Limit
PHP SQL Limit       This example illustrates how to execute LIMIT operator of mysql in PHP. ... with LIMIT operator. In the LIMIT operator we put minimum and maximum limit
PHP SQL Limit
PHP SQL Limit This example illustrates how to execute LIMIT operator of mysql in PHP.  In this example we create a limit.php page, in which we execute a query with LIMIT operator. In the LIMIT operator we put minimum and maximum
SQL Aggregate Concatenation
SQL Aggregate Concatenation       SQL Aggregate Concatenation are used to perform operation on concatenation of different records from different fields. The database provides you
php
php   what is php   PHP Tutorials
Java operator
Java operator  What are the legal operands of the instanceof operator
Java operator
Java operator  What is the difference between the prefix and postfix forms of the ++ operator
Java operator
Java operator  Which Java operator is right associative
php
php  what is php
Sitemap PHP Tutorial
of PHP | First Program | PHP Variables | PHP Concatenation Operator... Questions | Site Map | Business Software Services India PHP Tutorial Section PHP Index | PHP for beginners | PHP Date Functions | Starting
php
php using javasript  how to set timer in php using javasript
php
php  i want to know about php and php plateform required software to make php program and database that used in php program?   Please visit the following link: PHP database
php
php  i want to know about php and php plateform required software to make php program and database that used in php program?   Please visit the following link: PHP database
php
php  show the constructor overloading in php
PHP
PHP  How to work in drupal with PHP
What is the difference between the Boolean & operator and the && operator?
What is the difference between the Boolean & operator and the && operator?   Hello, What is the difference between the Boolean & operator and the && operator? thanks
String concatenation process example
.style1 { font-size: medium; } String Concatenation process example:- In the Action Script3, String is uses "+" operator for concatenate two strings. Concatenation of strings is a process to append one string
PHP
PHP   hii, Define PHP?   Hello,ADS_TO_REPLACE_1 The PHP Hypertext Preprocessor is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used
php
php  what is php   PHP is one of the most used open source server-side scripting language, which runs on almost all the platform. PHP... and Solaris. To know more about PHP, Visit Here
php
php  how to write a program in php to create pdf file
ternary operator
ternary operator  (Ternary operator) Dearness Allowance= 25% of Basic pay house rent allowance= 15% of basic pay Provident fund= 8.33% of Basic pay Net pay=basic pay+Dearness allowance+house rent allowance Gross pay= Net pay
LIKE Operator
LIKE Operator       The LIKE operator is used for searching  a specified pattern in the column. In this example we will show you how to use the Like operator to get
php
php  plz tell me code for PHP SQL Insert,delete,update,view is used to insert the record from HTML page to Mysql database using in single PHP form
php
php  retrieve data from mysql in php   Please visit the following links: http://www.roseindia.net/sql/mysql-table/mysql-php-select.shtml http://www.roseindia.net/sql/mysql-example/select-where.shtml
php
php  How to catch a image and link click counters using Ajax php can any one help me
php
php  how to set email remainder in php?can you help me pls
PHP
PHP  I want to create Calendar Event in PHP. Could u help me
PHP
PHP  How to check whether a username exists on a website using php and cURL and not MySQL
SQL IN Operator
SQL IN Operator       SQL IN Operator helps you to specify multiple values in a WHERE Clause... an example from SQL IN Operator. In this example, we create a table 'Stu
php
Write a simple PHP program that display the days of week as per the system date using switch case statement.  Write a simple PHP program that display the days of week as per the system date using switch case statement
PHP
PHP  I would love to do PHP project with the title of "Hospital Management System". I want to know how to make validation using jquery
PHP, PHP Tutorials, Free PHP Tutorials
for Declaring Variables The Concatenation Operator The Strlen...PHP is one of the most common and popular languages used for creating a dynamic... a comprehensive feature of coding. In our free PHP tutorial, you will find all the relevant
php
can learn php mysql connectivity examples from the given link: PHP Mysql Connectivity

Ads