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]
|