The sql_insert() function is used to insert content into a database. The SQL ports may experience problems when using this function, and if so, they should use the sql_insertq() function instead. This function is described here only to ensure support for restoring old backups and for transitioning old scripts.
The function accepts 6 parameters:
-
$tableis the SQL table, -
$nomsis the list of columns affected, -
$valeursis the list of values to be stored, -
$desc, -
$serveur, -
$option.
Usage example:
sql_insert('table', '(column)', '(value)');