Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2014

    Unanswered: Code to show errors

    I am writing a hp/mysql system. I am currently having an issue with one page. It loads fine but then when I add a query it returns a blank page. I know there is some code I can add in order for errors to be displayed but I can't remember what it is.

    Can anybody help please?


  2. #2
    Join Date
    Nov 2004
    out on a limb
    Provided Answers: 59
    An HP/MYSQL system?
    do you mean a PHP/MYSQL system?

    Depends on the way you are connecting to the mysql server. If its one of the object libraries look at that object library
    mysql always sets an error number and description mysql_errno and mysql_error
    you can use the or die construct to kill a script with a fatal error
    I'd rather be riding on the Tiger 800 or the Norton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts