PHP School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a PHP Expert!

Join 307,222 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,660 people online right now. Registration is fast and FREE... Join Now!




Supress MySql Errors

 

Supress MySql Errors, Need help in supressing MySql Errors

silverblaze

26 Feb, 2009 - 09:45 PM
Post #1

D.I.C Head
**

Joined: 18 Jan, 2008
Posts: 69



Thanked: 5 times
My Contributions
Hello all,

i have a small problem here, i hope as always i can get a good solution here.

My Problem is that i have a site which is in production now and due to heavy usage sometimes i was forced to restart my mysql server. So in such cases anyone who comes to my site can see the MySql errors and queries. I have disabled the php error reporting, still all the mysql errors are showing.

I initially thought about using "@" in front of mysql_query stmts and all, bt i read many places tht it taxes the system. So is thr ny other way to supress the mySql error??

Please help, any advice or suggestions will be greatly appreciated.

Hope to see the some really gud suggestions asap.

Regards.

User is offlineProfile CardPM
+Quote Post


Posts in this topic

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 10:44PM

Live PHP Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month