Hello,
I've been working with PHP for about 6 months - so consider me a newbie.
I am having trouble finding good information on PHP and HTML forms.
Any suggestions?
Thanks, Brian
HTML Forms
Moderator: General Moderators
HTML Forms
Hi,
I guess I'm having several problems and wanted to get some more background information if it was available. Specifically, I'm having trouble working with forms to achieve the behaviour that I want.
For instance, I can get a form to show up and produce a SQL insert, but I can't get the form to go away, unless I echo a new page with a "continue" link. I would prefer the insert to happen and to display something useful, like an edit screen to give them a chance to change what they did - for example.
I know that this rests with "if" statements, but I just can't seem to get past this point. I've checked out some of the better programs like moregroupware and I just can't figure out how they do the admin screen - which is basically what I'm trying to achieve. I would like to have user preferences tab, that allows users to adjust how their screen looks and what modules of the program show up - depending on their user privileges.
Maybe I should design the basic functionality that I want and then ask specific questions on how to achieve certain behaviors?
Any help is appreciated.
Thanks, Brian
I guess I'm having several problems and wanted to get some more background information if it was available. Specifically, I'm having trouble working with forms to achieve the behaviour that I want.
For instance, I can get a form to show up and produce a SQL insert, but I can't get the form to go away, unless I echo a new page with a "continue" link. I would prefer the insert to happen and to display something useful, like an edit screen to give them a chance to change what they did - for example.
I know that this rests with "if" statements, but I just can't seem to get past this point. I've checked out some of the better programs like moregroupware and I just can't figure out how they do the admin screen - which is basically what I'm trying to achieve. I would like to have user preferences tab, that allows users to adjust how their screen looks and what modules of the program show up - depending on their user privileges.
Maybe I should design the basic functionality that I want and then ask specific questions on how to achieve certain behaviors?
Any help is appreciated.
Thanks, Brian