How to See MySQL Query Errors in PHP
Last Updated on Tuesday, 20 November 2012 12:45 Written by Richi González Thursday, 22 November 2012 12:00
Hello,
Some people create queries that do not work and don’t have a clue why they don’t, as no error is displayed. I’ll show you how to display the MySQL error, if any, when the query is run. A must know for programmers. Great tool for debugging queries.
1. Open the file where you have your query. For this article, I will be using the following code:
Learn More
Tags: database, debug, Errors, how to, mysql, mysql_fetch_array, php, problem, query, see, sql | Posted under Programming/Coding, Security/Vulnerability | 2 Comments

Recent Comments