in reply to Re: MySQL looping
in thread MySQL looping

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; }

Replies are listed 'Best First'.
Re: Re: Re: MySQL looping
by andrew (Acolyte) on Jul 19, 2002 at 23:13 UTC
    that didnt do anything