Me again...
So now I am confused...
I have a form:
<form action="addanimal_submit.php" method="post" enctype="multipart/form-data" style="padding-left:10px">
<p>Name: <input type="text" name="name"></p>
<p>Date of Birth: <input type="text" name="dateofbirth"></p>
<p>Description: <input type="text" name="description"></p>
<p>Available For Adoption?
<select type="text" name="available">
<option value="1" selected>Yes</option>
<option value="0">No</option>
</select>
</p>
<p>Image Of Animal:</p>
<p><input type="file" name="fileToUpload"></p>
<input type="submit" name="submit" value="Submit Details" />
</form>
however when I submit it and echo the vars on the new form, none exist. If I get rid of the <input type="file">
then it magically works. What is the catch with having a file upload and additional data in the same form? It seems awful if you have to make a seperate one just for adding an image?