$query = "INSERT INTO replays (`id`, `user`, `name`, `description`, `map`, `players`, `version`, `log`, `filename`, `size`) VALUES ('', '$user', '$name', '$description', '$map', '$players', '$version', '$REMOTE_ADDR', '$filename2', '$sizeof')";
It gives me this error...
#1064 - 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 '$query = "INSERT INTO replays (`id`, `user`, `name`, `descripti
It worked fine the first time I ran it, but then I tried again and it gives me this error! It is a file upload script that adds data into the db also. The script will upload the file, except it will not add this into the database.
--- FIXED ----
I had to do something that I usually don't have to, and that is do like
$user = $_POST['user'];
I usually don't do that, but I tried and it works.