I am trying to update a media release with this mysql code:. When I do it displays the following error:Code MySQL:$update = "UDPATE `mediareleases` SET title = '$title', text = '$text', date = '$date' WHERE id = '$id'";
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UDPATE `mediareleases` SET title = 'Youth participation the key to strong commun' at line 1. The query was UDPATE `mediareleases` SET title = 'Media release title goes here', text = 'Media release text goes here.
', date = 'Friday, February 22, 2008' WHERE id = '44'. Could it be the date field? The date type is date. I did a select query to display that date with date_format. Can someone please help me get past that error? Thanks in advance.