
April 5th, 2000, 10:44 AM
|
|
Junior Member
|
|
Join Date: Mar 2000
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Hello to All,
I'm stuck and I need your assistance(if I may).
OK here goes:
$i=1; while ($i <= 5) { echo("$i,"); $mylink=("$i"); $i++; }
Here is the problem. If I echo the $i string, I get 1,2,3,4,5 as a result,
which is exactly what I should get.
BUT... if I assign $mylink to the $i variable and I try echoing $mylink, only the last number of $i is printed. I would like to make it so the assigned variable $mylink will print the same contents as the $i.
Thanks
Regards, Tom...
|