Im trying to write an update query with PDO only I cant get my code to execute?
try { $conn = new PDO(\"mysql:host=$hostdb; dbname=$namedb\", $userdb, $pass
Your update syntax is incorrect. Please check Update Syntax for the correct syntax.
$sql = "UPDATE `access_users` set `contact_first_name` = :firstname, `contact_surname` = :surname, `contact_email` = :email, `telephone` = :telephone";