If my SQL returns no results then i want to redirect to a page saying no
results etc but if results are found then I want it to continue on down the
script how would i do this.
Matt.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
by checking the return value of mysql_num_rows()
At 04:32 PM 2/20/01 +, Matt Davis wrote:
If my SQL returns no results then i want to redirect to a page saying no
results etc but if results are found then I want it to continue on down the
script how would i do this.
Matt.
--
PHP General
iling List
Subject: [PHP] redirect if sql = nothing
If my SQL returns no results then i want to redirect to a page saying no
results etc but if results are found then I want it to continue
on down the
script how would i do this.
Matt.
--
PHP General Mailing List (http://w
-
From: Joe Sheble (Wizaerd) [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2001 16:46
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Php Mailing List
Subject: RE: [PHP] redirect if sql = nothing
Actually this won't work since the actual query never runs
try:
$sql = "select * from table wh
4 matches
Mail list logo