faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

How can i join two values to form a single value by using a seprator character?

Sep 2nd, 2002 01:50
Penton Wong,


I assume that you know how to create variable and assign values into 
it. You can try the following:
$Var2 = "Northen";
$Var3 = "Europe";
$Var1 = $Var2 . $Var3     
//$Var1 = "Northen Europe"
Hope this help.