Hi,
Why some use @ before php functions ?
For example
@mysql_query($sql);
Here is an code from http://in.php.net/mysql_query
Thanks,PHP Code:<?
function q($query,$assoc=1) {
$r = @mysql_query($query);
if( mysql_errno() ) {
$error = 'MYSQL ERROR #'.mysql_errno().' : <small>' . mysql_error(). '</small><br><VAR>$query</VAR>';
echo($error); return FALSE;
}
Yujin







Bookmarks