RE: [PHP] Links with parameters in DB
| From: | Jay Blanchard | Date: | Thu, 19 Aug 2004 12:28:06 +0000 |
| Subject: | RE: [PHP] Links with parameters in DB | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-194245@lists.php.net to get a copy of this message | ||
[snip]
$i=0;
$q="select * from links'";
while ($i<mysql_num_rows($result))
{
$link=eval(mysql_result($result,$i,"link"));
.....
.....
and then i put this:
[/snip]
What happens if you do this?
while($i < mysql_num_rows($result)){
$link = eval($result);
echo $link;
}
P.S. Please reply to the list too, I am quite busy and may not be able
to follow up.