FormBuilder questions
| From: | Justin Patrin | Date: | Thu, 27 Jul 2006 20:36:03 +0000 |
| Subject: | FormBuilder questions | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24792@lists.php.net to get a copy of this message | ||
Someone recently posted this on my wiki. If you're listening, please
don't ask questions there. That's not the appropriate place.
Suppose I have a table Person with the columns id, name, address, phone...\\
And that I also have a table User with the columns id, login,
password, per_id where person_id references Person.id.\\
Each user must be linked to a person but there are persons that are
not users (so it is not a 1:1 relation)\\
How do I build a form that allows someone to register a user and
populate the Person table at the same time ? Something like\\
Login: [ ] \\
Password: [ ] \\
Name: [ ] \\
Address: [ ] \\
...
And would it be possible to make something generic that allows any
form that needs to register a person to be extended with the needed
fields ?
--
Justin Patrin