Posted by Oli Filth on 09/25/06 17:20
Oli Filth said the following on 25/09/2006 18:15:
> monomaniac21 said the following on 25/09/2006 16:43:
>> Hi all!
>>
>> How can you get rid of the error that displays if you do a query which
>> returns no result and then try and fetch the array, WITHOUT having to
>> put the while in another conditional like if ($result != ''), something
>> more efficient if possible.
>
> A query will only return no result if the syntax is invalid.
>
That is, if the SQL syntax is invalid.
--
Oli
Navigation:
[Reply to this message]
|