By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,051 Members | 1,221 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,051 IT Pros & Developers. It's quick & easy.

different syntax mysql_query

P: n/a
Hi,

Sometimes I see this piece of code

$result = @mysql_query( $query ) or
$result = mysql_query( $query )

What is the use of the '@' character ?

regards Johan
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

On 7-Nov-2003, "Johan den Boer" <me@knoware.nl> wrote:
Sometimes I see this piece of code

$result = @mysql_query( $query ) or
$result = mysql_query( $query )

What is the use of the '@' character ?

http://www.php.net/manual/en/languag...rorcontrol.php

--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to ja*********@willglen.net (it's reserved for spammers)
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.