Error thrown
Call to undefined function mysql_num_rows()