Chris Carter wrote:
>There is enough data to display this result and to paginate but its simply showing the
>else condition which does not have NEXT or PREVIOUS hyperlinked.
>$query_count = "SELECT count(*) FROM students";
>$result_count = mysql_query($query_count);
>$totalrows = mysql_num_rows($result_count);
well, the result is always 1 (even if no students are present), you need to use some mysql_fetch_* function to get the count of students


PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to