my php is very "weak" so I am having trouble with this -
<?php
include_once "../scripts/connect_to_mysql.php";
$title = $_POST['title'];
$desc = $_POST['description'];
$query = mysql_query("UPDATE images SET title='$title', description='$desc'") or die (mysql_error());
echo 'Operation Completed Successfully! <br /><br /><a href="index.php">Click Here</a>';
exit();
?>
The undefined index error is description
on line 9 which is $desc = $_POST['description'];
and "description" is in the database spelling is also right.