recently I had a problem migrating code from PHP 4 to 5, and i solved it using "@mysql_fetch_array($result)".
PHP4 code: mysql_fetch_array($result) , working fine
PHP5 code: @mysql_fetch_array($result)
What is this "@" for? I couldn't find it in the manual...
Thanks!
What is the "@" for in PHP?
Moderator: General Moderators
Re: What is the "@" for in PHP?
Supressing errors.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: