[Solved] Update query with PHP and PDO doesn’t work [closed]


Change

$sqlUpdate = "UPDATE `annonces` SET `etat` = `offline`...

to

$sqlUpdate = "UPDATE `annonces` SET `etat` = 'offline'...

Put quotes around “offline”, and it should work.

0

solved Update query with PHP and PDO doesn’t work [closed]