select ez4uid from classify where categoryid=1 order by rand() limit 1;
this is the sql i use.
if i do it in mysql console, i get a different id everytime.
but if i do it in phpmyadmin or php, i get the same ID(2) once in a while. it justs repeats.
is my db corrupted?