A query I'm using is returning no errors and no database update!
$qtxt = "INSERT INTO site_uploads (uid, title, desc, file, uploaded) VALUES ('" . $UserID . "', '" . $Data[1] . "', '" . $Data[2] . "', '" . $_FILES['uploaded']['name'] . "', '" . date("Y-m-d") . "')";mysql_query($qtxt) or CreateError("Could not query database: " . mysql_error());
Anybody know why this is happening? After I printed the query this was basically what came up: (no errors I can see)
INSERT INTO site_uploads (uid, title, desc, file, uploaded) VALUES ('1', 'Notepad 2', 'Try it!', 'Notepad 2.zip', '2006-08-03')