Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
DogFood


Code to combine or concatenate two variables in php
Question Posted on 22 Oct 2011

Home >> PHP >> PHP Questions >> Code to combine or concatenate two variables in php




Below are two sample to combine two variable sample 1 will work significantly faster. To try it we take large sets of data and we will see that concatenation works significantly faster than variable substitution.
$var1 = 'Interview Question On';
$var2 = 'getproductprice.com';
Sample1:-
$var 3 = $var1.$var2;

Sample2:-
$var 3 = $var1$var2;
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
difference between echo and print
method to past value from one page to another in php
differenc between mysql_connect and mysql_pconnect
What is htaccess file
Code to combine or concatenate two variables in php






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |