Can someone give me a kick in the right direction with this:
$sql='INSERT INTO table (name,data,other,datetime) VALUES (?,?,?,NOW()) WHERE id=?;';
$pds=$database->pdo->prepare($sql);
$pds->execute(array($a,$b,$c,$id));
what are I doing wrong here?
Note: I've INSERTED before successfully using PDO. The only difference is the WHERE id=?...
thankyou