You are here: Re: PHP/MySQL warnings about results « PHP Programming Language « IT news, forums, messages
Re: PHP/MySQL warnings about results

Posted by Jerry Stuckle on 11/23/07 14:46

Knut Krueger wrote:
> Michael Fesser schrieb:
>> .oO(Knut Krueger)
>>
>>> withour talking abut the SQL problem - see the other guys it should
>>> be possible to prvent the error message with
>>>
>>>
>>> $data = @mysql_fetch_array($result,MYSQL_ASSOC))
>>>
>>> I do not know whether it is working with
>>> mysql_fetch_array($result,MYSQL_ASSOC))
>>> but it is working with @mysql_query and @mysql_num_rows
>>
>> Using '@' is really bad style in most cases. It suppresses the error
>> message instead of fixing it.
>>
>> Micha
> but it is better to supress one error instead of setting error_reporting
> off, isn`t it?
> Regards Knut
>

It's better to not cause the error in the first place.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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