OK, having a problem with PHP.
Here is the code i have:
<select name="formSelect">
<option value="value1">value1</option>
<option value="value2">value2</option>
</select>
<form action= "<?PHP echo "upload.php?" . $_POST["formSelect"]) ?>" method="post" enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="userfile" id="file" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>
And its not working.
What I want it to do is make the form action equal upload.php?formSelectvalue .
Can anyone help?
EDIT:
Fixed it by putting <select> inside the <form> tags