View Single Post
Old 02-18-2005, 12:06 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,544
sde is on a distinguished road
do you have a database setup yet? if so, if you can describe the fields, then it would be more helpful.

there is a way to select random records with sql. the example below will probably not work because your database probably has different field names. but here is how you would select 10 random members:
PHP Code:
<?
$result 
mysql_query("select * from members order by rand() limit 10");
?>
__________________
Mike
sde is offline   Reply With Quote