how do i put this code in 1 value:
Code: <?php
for ($i=1; $i<=5; $i++)
{
echo $i ;
}
?>
the output will be: 12345
how do i put the result in one value ,some thing like :
if the result is 12345 then it will be equal to $the_value
and when i echo $the_value , the result will be 12345
the quastion is how to put the result of the forloop in one value for later use
thanx