PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$result = mysql_query("SELECT * FROM bookmark WHERE status='selling' ORDER BY rand() LIMIT 5");
$i=0;
while ($i < $result) {
//Dont I need this in there too:
//$bm_URL=mysql_result($result,$i,"bm_URL");
//$description=mysql_result($result,$i,"description");
echo "<a href="http://onestopauctionshop.com/spinco/hot_result.php?bm_URL=$bm_URL\>$description</a>";
++$i;
}