Re: [PHP] dynamic forms

2008-12-16 Thread ceo
If you have their ID when you generate the HTML FORM, there is no need for anything as exotic as Ajax... //get their $ID //query the DB using $ID to get $whatever echo "", htmlentities($whatever), ""; If you don't know their ID until the interact with other form elements, then, yeah, go

RE: [PHP] dynamic forms

2008-12-16 Thread Jay Blanchard
[snip] I would like to create a from that will pull and display information based on a user's ID from a postgresql database into a textarea on the form, before the submit button is clicked. Are there some tutorials on how to use PHP to dynamically display information on a form as the form is being

[PHP] dynamic forms

2008-12-16 Thread Marc Fromm
I would like to create a from that will pull and display information based on a user's ID from a postgresql database into a textarea on the form, before the submit button is clicked. Are there some tutorials on how to use PHP to dynamically display information on a form as the form is being fill

Re: [PHP] Dynamic Forms

2004-01-15 Thread Justin French
On Friday, January 16, 2004, at 02:15 AM, Robert Temple wrote: Can anyone suggest a PHP solution to creating a form that gets built after a client enters a variable? For example: an automobile insurance form that first asks how many cars you have, and then creates a form with fields for car 1,

Re: [PHP] Dynamic Forms

2004-01-15 Thread Jas
Matt Matijevich wrote: [snip] Can anyone suggest a PHP solution to creating a form that gets built after a client enters a variable? [/snip] php runs on your server so to build the forms based on a user entered form field, the form has to be submitted, so you would have to use javascript to autom

Re: [PHP] Dynamic Forms

2004-01-15 Thread Matt Matijevich
[snip] Can anyone suggest a PHP solution to creating a form that gets built after a client enters a variable? [/snip] php runs on your server so to build the forms based on a user entered form field, the form has to be submitted, so you would have to use javascript to automatically submit the for

[PHP] Dynamic Forms

2004-01-15 Thread Robert Temple
Can anyone suggest a PHP solution to creating a form that gets built after a client enters a variable? For example: an automobile insurance form that first asks how many cars you have, and then creates a form with fields for car 1, car 2, etc. I have found JavaScript code that will do this, but