i have three options for a photo or video being uploaded to the site , i have this select option to pick what the file is being uploaded sorta like a tag. its not placing it in the database. here is my code:
Here is where i call on it
$type1 = $_POST['type'];
$type = mysql_real_escape_string($type);
$sql = mysql_query("INSERT INTO photos
SET photo='$newname', title='$title', date='$date', author='$by' , type='$type'")
Here is where it is made
<select name="type" id="type">
<option value="Pic">Picture</option>
<option value="Video">Video</option>
<option value="Gif">Animated picture (GIF)</option>
</select>