Posted by Michael Fesser on 01/14/08 19:43
..oO(sixstringsin@yahoo.co.in)
>On Jan 14, 11:31 pm, Michael Fesser <neti...@gmx.de> wrote:
>
>> Make sure that error_reporting is set to E_ALL|E_STRICT in your php.ini
>> and display_errors is enabled. Do you get any notices when you run the
>> code? Does the query actually return anything? What does a
>>
>> var_dump($tc_array);
>>
>> show?
>
>thanks a lot for the help. Indeed var_dump($tc_array)
>prints:bool(false). So is it that the mysql query is going wrong?
The query didn't return anything. You can check with mysql_num_rows() to
see if there's something returned.
It also means that most likely your error_reporting directive is not
configured properly, since you should have received an E_NOTICE error.
Micha
Navigation:
[Reply to this message]
|