On Wednesday 29 October 2003 02:24 pm, Payne wrote: > Hi, > > I have been working on a simple PHP script that called to a mysql > database, where I do the following.... > > SELECT url FROM sponsors ORDER BY RAND();
Try -> SELECT url FROM sponsors ORDER BY RAND() LIMIT 1; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php