qdsfs
| Posted by unknown on Wed 25 Jan 2012 15:46 | 97 views
- Syntax: PHP
- Expires: never
- Report
- IMG
- Download
-
|
- $strTitle = $_POST['txtTitle'];
- $strGenre = $_POST['cboGenre'];
- $strDescription = $_POST['txtDescr'];
- $strFilename = $_FILES['uploadedfile']['name'];
- $strQuery = "INSERT INTO `tblMedia` (`id`, `filename`, `title`, `genre`, `description`) VALUES (NULL, '$strFilename', '$strTitle', '$strGenre', '$strDescription');";
- } else{
- echo "The file could not be uploaded, please try again!";
- }
- }
