Hi guys , i want to put the content of two integer variables together and then save in a variable, it should be easy but i can't get it $var1=1234; $var2=5678; i want $var3= 12345678;
that is $var1 + $var2
tried many things converting vars to strings and adding them but all it dies is add the values mathmatically which i don't want
THanks
jatar_k
5:25 pm on Jun 10, 2003 (gmt 0)
what about
$var3 = $var1 . $var2;
or $array = array($var1,$var2); $var3 = implode("",$array);