Nitsan Bin-Nun wrote:
mysql_num_rows() maybe? if not I probably haven't understood your question.
Thanks, I never thought of trying that. This code works!
$mysqli_get_requests = mysqli_query($mysqli,$get_requests);
if (!mysqli_num_rows($mysqli_get_requests))
{
echo "You have reached the end of the results.
Please press the back button.
<form action=/helpdesk/login.php method=post><input
type=submit value=Back
name=submit></form></body></html>";
exit;
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php