Hello everyone,
I am trying to join two variables into one variable. Whats the sintax?
$variable1 $variable2
$variable3 = $variable1 + $variable2??
How can i do that??
any help would be great
Thanks
<? $a='a1'; $b='b1'; $c=$a.$b; echo $c; ?>
variable3 = $variable1." ".$variable2
use the period as the concatenation operator...I changed your to combine the two with a space in the middle...
hth bastien
variable3 = "$variable1 $variable2"; This will also work.