I am trying to write a querry to pull just one playername out of a database by random,
can anyone see what I am missing please ?
open base<
$sql="select playername from tablejollys
where (ID % 1000) = floor(rand() * 1000)
order by rand()
limit 1";
$result=mysql_query($sql);
echo ['playername'] ;
>close base
Thanks.