Forum Moderators: coopster
Im currently getting info from a loop like this:
###start###
$numberofchildren = "3";
$current = 0;
while ($current < $numberofchildren) {
++$current;
$a="a";
$b="a";
if ($a=="$b") {
echo "test$current ";
}
}
###end###
This will Print: "test1 test2 test3"
How can I get it to ONLY print "test3"?
Any help is appreciated.