...

View Full Version : variable and text



alcool9999
10-28-2009, 02:18 PM
hi
this is basically what i want to do.
say
$var2 = "hello"

$var1 = $var2 + "bob"
then $var1 would equal "hellobob"

thanks

mlseim
10-28-2009, 02:30 PM
<?php

$var2 = "hello";
$var1 = $var2."bob";

// view it
echo $var1;

?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum