both mysql_error () and mysql_errno () are suppose to "assist" you in determining the cause of problems you may encounter with your mysql-related coding. it's not a question of knowing what php can tell you what's wrong, it's what your mysql db is telling you. you should refer to the mysql error code listing in the mysql manual. you may want to show your code, sql stmts that you make in your code, and you might even want to indicate your table structure even, if you expect proper answer

hope wrote:

i use mysql_error() bt stil even sometimes i donnot understand the real error.
is ther any other function tht wil let me know if error
is regarding my syntax, parameters, database connection or something else
like fetching records etc.

David Robley wrote:

(umeed wrote:

most of the time wen dealing with
i get error

bt i want to exactly know wt the error is
due to.

how can i print specific error tht wil make it easy to know

u cn us mysql_error() n prnt ur qry as well

And perhaps if you write properly your questions may be better understood


PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to