Jump to content

mysql_query vs @mysql_query ?


ryel01

Recommended Posts

The "@" symbol supresses error messages and shouldn't be used when developing code. I feel it shouldn't be used at all except in cases where you know you can safely ignore all errors that could result from the line preceded by the symbol. Always write your scripts defensively -- assume the worst and write code that will work correctly.

Ken

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.