how come whenever i try to use the mysql_num_rows() this happens: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource. also i've followed all of the instructions and i have intermediate php.