View Full Version : Uploading & Forms

08-28-2007, 02:26 AM
Hey all,

I have a photo upload system I am setting up. Besides the photo, form, I need to add a category input. Now, with a basic form I just do method="post". With my form I have enctype="multipart/form-data". would this work if I just put the input within this form, and declare it as $_POST["category"]; ?

08-28-2007, 05:11 AM
Yep, keep the method="POST" in the form tag and you can add normal form elements which will come through in the $_POST array.