[PHP] redirect if sql = nothing

2001-02-20 Thread Matt Davis
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

Re: [PHP] redirect if sql = nothing

2001-02-20 Thread Joe Sheble (Wizaerd)
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

RE: [PHP] redirect if sql = nothing

2001-02-20 Thread Brian V Bonini
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

RE: [PHP] redirect if sql = nothing

2001-02-20 Thread Matt Davis
- 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