Hi all
i have a problem with my update query in php , i try to update the last record , i try with this but update all the records and not only the last i dont know what´s wrong ...any ideas?
$query = "UPDATE table1 SET Object1='one', Object2='two', Object3='three' WHERE id=LAST_INSERT_ID(table1.id)";
thanks a lot