Posted by Knut Krueger on 11/23/07 14:23
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
[Back to original message]
|