15 fields is not a lot, especially if you intend to handle some as
checkboxes, some as text, etc...
If you actually had a *LOT* of fields, you could look at storing some kind
of info about them in another table, and automating the output.
Another option would be to use oohforms (see PHPlib) or somesuch...
But for a couple pages of forms with 15 fields, you're really not gonna save
any time/effort to do all that...
You may wish to create an "editing" page which displays their current
settings -- Just select from the database and print out the VALUE="$foo" as
part of the HTML.
Sample code on every code archive you can find.
http://php.net/links.php
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Kath <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 22, 2001 9:43 AM
Subject: User's editting profiles
I have some user profiles and I'd like them to be able to update them as
they see fit (Change their email, password etc etc).
However, their options are rather long and instead of having these turkeys
have to type in stuff into 80000 form fields, I'd like to display the
current data in those fields and then let them just change what needs to be
done.
What is the best way to do this?
My only problem is propogating all their data through the HTML form (I can
manage doing one or two fields, but doing 15 is rather not fun) from the
database (two different tables too, including checkboxes).
- k
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]