The sql_error() function returns the most recent SQL error that has occurred. This function is used within SPIP to automatically record details for the incident logs generated for SQL actions, which are centrally managed by the spip_sql_erreur() function in ecrire/base/connect_sql.php

Author Mark Baber Published : Updated : 12/05/17

Translations : English, français