Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Use of '@' in PHP

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 252
    Comment on it

    Hello Reader!, You might have seen people using the '@' in the PHP coding. The operator '@' is used when you don't want to show the error messages even if they occur. By using '@' the errors will be hidden.

    Let's see the two syntax below:-

    $MySql_Query = mysql_query("This is showing the error");
    

    In the case below:-

    $MySql_Query = mysql_query("This query will hide the errors even if they occurs");
    

    Now on this the browser will not show any error message

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: