if mysql_query() fails, what to do? - by Wohell Sometimes so happens that mysql_query() fails to INSERT data and I am unaware of it. So, the question is how do I know when it happens? Read the article