RE: [PHP-DB] Random Selecting from mySQL

2002-03-13 Thread Demitrious S. Kelly
Pass along a hidden form which documents exactly what rows have already been shown input type=hidden name=seen value=1:4:3:9:10:5:27 then you could use $seen=explode(':', $seen); to break it into an array... after that use a foreach to add a 'and id != '.$seen into the sql query for every

RE: [PHP-DB] Probably a stupid Array question

2002-03-30 Thread Demitrious S. Kelly
$words[0] would be the first word, $words[1] would be the second word... $words[10] would be the eleventh word, etc, etc -Original Message- From: Chris Payne [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 30, 2002 9:08 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Probably a stupid Array