RE: [PHP] Sending Results of a form to more than one place
| From: | John W. Holmes | Date: | Sun, 27 Apr 2003 14:13:28 +0000 |
| Subject: | RE: [PHP] Sending Results of a form to more than one place | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145423@lists.php.net to get a copy of this message | ||
> I have a form I've made which, so far, lets you browse for a file on
your
> computer, then when you hit submit the file is uploaded into a
directory
> on my server.
>
> How can I make it so I add more text fields to the form, then when you
hit
> submit the file is uploaded into the directory and the stuff in the
text
> fields is sent to a mySQL database, which then appears as text on a
normal
> page?
Just add in a text field or textarea. The file data will be in $_FILES
and the text will be in $_POST. Process each one however you like.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/