[PHP-DB] Re: Newbie-Question: What's that @? From: rolf vreijdenberger (rolfvreijdenberger <email protected>)
Date: 10/31/02

there is no difference between the two!
quote: "
 <email protected>($query)
and
 <email protected>($query)?
"
haha
but seriously, the @ supresses error messages from php, so these will not be
outputted.
No information on why or how, the query in this case, it failed.
you can do this on a per function basis with the @ or for the whole script
with error_reporting() function.

--
Rolf Vreijdenberger
De Pannekoek en De Kale
Maystraat 6
2593 VW Den Haag
T: 06-24245719
E: rolf <email protected>
W: www.depannekoekendekale.nl
"Marcus Fleige" <marcus.fleige <email protected>> schreef in bericht
news:php.db-22830 <email protected>
hi there,

i've got a general question about php-scripts:

whats the difference between

 <email protected>($query)

and

 <email protected>($query)?

is it the same as in batch programming? like, ignore all return messages?

thanks and greetings from germany,

marcus

-- ^v^ thekengoth <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php