HTML Forms

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bauty
Forum Newbie
Posts: 2
Joined: Sat Jun 15, 2002 4:52 pm

HTML Forms

Post 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
MattF
Forum Contributor
Posts: 225
Joined: Sun May 19, 2002 9:58 am
Location: Sussex, UK

Post 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.
bauty
Forum Newbie
Posts: 2
Joined: Sat Jun 15, 2002 4:52 pm

HTML Forms

Post 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
Post Reply