while($id) { $sthm = $dbh->prepare("SELECT name,parent FROM category WHERE id ='$i +d'"); $sthm->execute or die $dbh->errstr; ($name,$id) = $sthm->fetchrow_array; $title = "$title >> " . $title; }
In reply to Re: Re: MySQL looping
by Nightblade
in thread MySQL looping
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |