hi, can I concatenate vars like that? there are any better way?
$var2="gdsg"; $var3="dfgd"; $var4="dfgdfg";
$var1=$var2.$var3.$var4;
the ideia its join all words in just one sentence...
thnks, Nelson MB
Originally posted by nelsonmb there are any better way?
no, that is the best way
Sup man, you might want to use a array, I hate them personaly but still.
$var = array(hsgfds, sga, tert, wrtert, klhlk);
1st = $var[0] 2nd = $var[1]
$var = array(hsgfds, sga, tert, wrtert, klhlk); echo '$var[1]';