Jump to content

mynameisrich

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by mynameisrich

  1. Thanks!

    So in the example I gave, if an error were generated by mysql_query, what would happen? Would $result be set to the error that was raised? (Which would then evaluate to false and cause the "showerror()" function to be called?)
  2. Ok, posting here is a last resort. (Apparantly you can't search for the string "@" with Google or php.net's search box. It matches everything.)

    What does the '@' operator mean? I've seen it in scripts and can't figure it out. The online documentation at php.net lists '@' as an operator in the order of precedence, with a link to the Types pages, but none of the Types pages has any mention of it. Niether do any of the other language syntax reference pages. (I know. I looked through them all!)

    I've played around with it on the php command line, and as far as I can tell, it doesn't actually do anything.

    Sample code I saw with it:

    [code]if (!$result = @ mysql_query ($query, $connection))
         showerror();
    [/code]
    Any help?

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