Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php mysql error

mysqli_query($this->db_link, $query) or die(mysqli_error($this->db_link)); 
# mysqli_query($link,$query) returns 0 if there's an error.
# mysqli_error($link) returns a string with the last error message
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #mysql #error
ADD COMMENT
Topic
Name
2+6 =