Jump to content

what is @ in php?


konfigure

Recommended Posts

I have a generated code like this

 

x
$sSql = ew_BuildReportSql(EW_TABLE_SQL_TRANSFORM, $EW_TABLE_SQL_SELECT, $EW_TABLE_SQL_WHERE, EW_TABLE_SQL_GROUPBY, "", EW_TABLE_SQL_ORDERBY, EW_TABLE_SQL_PIVOT, $sFilter, @$sSort);

 

but I dont know what for is the "@", what is @ in php anyway?

Link to comment
Share on other sites

i believe the @ sign in your code suppressed the error so it wont cause error message in your function

so when the variable  @$sSort gets an error message it only passed empty value not the whole crapy warning message

i guess the $sSort  is your sql execution or .....

but that is no use  it should supressed the error right after it is passed in your var

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.