Page 1 of 1

HTML Forms

Posted: Sat Jun 15, 2002 4:52 pm
by bauty
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

Posted: Sun Jun 16, 2002 6:45 am
by MattF
PHP forms are the same as HTML forms, I'm not sure what you mean, to make a form in PHP just echo the HTML code for a form - be more specific.

HTML Forms

Posted: Sun Jun 16, 2002 7:59 pm
by bauty
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