note 38884 added to function.msql-query

From: Date: Sat, 10 Jan 2004 00:35:40 +0000
Subject: note 38884 added to function.msql-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-63231@lists.php.net to get a copy of this message
If you want, you can supress MySQL errors by using the "@" symbol in front of "mysql_query()". ex. @mysql_query("drop table test"); If MySQL encountered an error it would not display it, but also it would not be able to carry out the drop command. Why you would want to use this is beyond me, because I know I like to know when something is wrong; people who do want to use it, there you go. ---- Manual Page -- http://www.php.net/manual/en/function.msql-query.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38884 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38884&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38884&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63231) next »