Alright, PHP is throwing this error at me (in the log) when I run the code mentioned below:
Error
mysql_num_rows() expects pa
You are missing the mysql_query function, it should be like this:
$queryFP = "SELECT * FROM table_name_here"; $queryFP = mysql_query($queryFP) or die(mysql_error()); $countFP = mysql_num_rows($queryFP); $aID = rand(1, $countFP);