I have a Form page edit.php that when I update some of the form fields and submit, it then goes to editsent.php.
editsent.php is below:
<?
include('dbconnect.inc');
mysql_query("UPDATE products SET Product='$Product', MetaTitle='$MetaTitle', CategoryID='$CategoryID', Data='$Data', WHERE ProductID='$ProductID'");
mysql_close();
header("Location: admin.php");
?>
But this is not updating the MySQL table.
Any ideas why?
Thanks,
Jon