Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in ...4images/admin/plugins/notepad.php on line 7
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "../" : "../../";
DB Error: Bad SQL Query: UPDATE admin_notes SET notes='', width=, height=
You have an error in your SQL syntax near ' height=' at line 1
if ($action == "update") {
global $site_db;
// extra code to fill the $var
$notes = $_POST["notes"];
$width = $_POST["width"];
$height = $_POST["height"];
//
$sql = "UPDATE admin_notes SET notes='$notes', width=$width, height=$height";
$result = $site_db->query($sql);
printf ("Notepad Updated<br>");
}