The sql_updateq()
function is used to update content in an SQL table. The content passed to the function is automatically filtered.
Its 6 arguments are the same as for sql_update()
:
-
$table
is the SQL table in question, -
$exp
contains the modifications to be made, -
$where
, -
$desc
, -
$serveur
, -
$option
.
It is used as shown below:
sql_updateq('table', array('column' => $value), 'id_table=' . intval($id_table));