Hướng dẫn echo mysql error
(PHP 4, PHP 5) mysql_error — Returns the text of the error message from previous MySQL operation Descriptionmysql_error(resource Parameterslink_identifier
The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect() is assumed. If no such link is found, it will try to create one as if mysql_connect() had been called with no arguments. If no connection is found or established, an
Return Values Returns the error text from the last MySQL function, or ExamplesExample #1 mysql_error() example
The above example will output something similar to: 1049: Unknown database 'nonexistentdb' 1146: Table 'kossu.nonexistenttable' doesn't exist See Also
aleczapka _at) gmx dot net ¶ 18 years ago
Florian Sidler ¶ 12 years ago
Pendragon Castle ¶ 13 years ago
q($page,$query){
Anonymous ¶ 17 years ago
olaf at amen-online dot de ¶ 18 years ago
l dot poot at twing dot nl ¶ 16 years ago
db_query( $query ){ Gianluigi_Zanettini-MegaLab.it ¶ 15 years ago
Anonymous ¶ 21 years ago
scott at rocketpack dot net ¶ 19 years ago
josh ><> ¶ 18 years ago
phpnet at robzazueta dot com ¶ 15 years ago
Gianluigi_Zanettini-MegaLab.it ¶ 15 years ago
$this->db_handle!=FALSE && $db_selection_status!=FALSE) Gerrit ¶ 8 years ago
|