select one row at a time using mysql_use_result