mysql_error

PHP 4, PHP 5
mysql_error - Returns the text of the error message from previous MySQL operation
Manual
Code Examples

Example #1 mysql_error example

Result: 1049: Unknown database 'nonexistentdb' 1146: Table 'kossu.nonexistenttable' doesn't exist
PHP Version: