PHP Forms

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
toonbon
Forum Newbie
Posts: 5
Joined: Thu Jan 20, 2011 10:16 am

PHP Forms

Post by toonbon »

I see that to upload a file you need to set enctype="multipart/form-data". But what if the form also has normal text inputs? Suppose, for example, the form is:

Have you ever been convicted of a crime? o Yes o No
if yes, please upload an explanation.| file name | Browse

Does the enctype="multipart/form-data" allow all of the normal form inputs?

Thanks
Steve
anantha
Forum Commoner
Posts: 59
Joined: Thu Dec 23, 2010 7:38 pm

Re: PHP Forms

Post by anantha »

ya it allows text inputs...
toonbon
Forum Newbie
Posts: 5
Joined: Thu Jan 20, 2011 10:16 am

Re: PHP Forms

Post by toonbon »

Thanks. And radio buttons, and checkboxes and select drop-downs, etc, etc? Could you point me to some documentation?

Thanks.
Post Reply