Ok i give u what i try :
if($event == upload){
echo "\"".$row["aid"]."\";
}
<form name="form1" method="post" action="" enctype="multipart/form-data">
<input type="hidden" name="event" value="upload">
Upload een nieuwe foto : <input type="file" name="imagefile"><BR>
In welk Album :
<select name="album">
<?
mysql_connect("$dbserver","$dbuser","$dbpass");
mysql_select_db("$dbname");
$result = mysql_query("SELECT * FROM album_albums ORDER BY aid ASC");
while($row = mysql_fetch_array($result))
{
echo "<option value=\"".$row["aid"]."\">".$row["aid"]." - ".$row["path"]."</option>\n";
$i++;
}
echo "</select>\n";
mysql_close($connection);
?>
</select><BR>
<input type="submit" name="Submit" value="Verstuur">
</form>
When i submit the form i am trying to get the Value of the option.
But when i try to echo the value i get nothing 🙁.
Can u see what i am doing wrong ??