What specific error messages are you getting?
at a quick glance I can advise the following:
You will probably need to surround your SET variables with quotes, ie: "... SET PublishDate='$update' ..."
Also, assuming that PublishDate is a datetime field of some sort in your database, you will need to ensure the data being input is in a format that MySQL can convert to a date, such as "yyyy-mm-dd"
The Date is just a VARCHAR right now in the database. When I click the submit button, this error comes up:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) in /ebs/home/baileyjumper/domains/baileyjumper.aisites.com/public_html/Scripting-Week7/homework4/edit.php on line 81
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /ebs/home/baileyjumper/domains/baileyjumper.aisites.com/public_html/Scripting-Week7/homework4/edit.php on line 81
Cannot update
Before clicked there are no errors.