Help with INSERT query

From: Date: Wed, 24 Jan 2001 21:51:14 +0000
Subject: Help with INSERT query
Groups: php.general 
Request: Send a blank email to php-general+get-36485@lists.php.net to get a copy of this message
I recently downloaded a phpDownload app. I'm having problems with it and can not reach the creator of this app. The INSERT query from the Admin portion of this app will not insert the info passed from a form. Can someone offer any help with this? Here is a portion of the code: } else { // Insert new entry $query = "INSERT INTO Downloads (Name, Description, FileSize, FileName, DownloadCount, Category, Redirect) VALUES ('"; $query .= addslashes($Name) . "','" . addslashes($Description) . "'," . $FileSize . ",'" . addslashes($FileName) . "'," . $DownloadCount . "," . $Categories . ",'" . addslashes($Redirect) ."')"; } Darren Evans Senior Site Coordinator www.bombs-away.net

« previous php.general (#36485) next »