Reply to Re: newbie help with mysql_fetch_array

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация