Advice For A Rookie - Form Submit to Populate Web Page

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
seaturtle
Forum Newbie
Posts: 2
Joined: Mon Aug 24, 2009 9:44 pm

Advice For A Rookie - Form Submit to Populate Web Page

Post by seaturtle »

I'm fairly new to PHP and I'm starting on a new project where I want my visitors to fill out a form that will populate the appropriate fields on a web page for them. I've done forms but not one like this. Is this possible with PHP? Any advice?

Thanks!
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Re: Advice For A Rookie - Form Submit to Populate Web Page

Post by Ambush Commander »

Yes of course! Google for PHP sessions.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Advice For A Rookie - Form Submit to Populate Web Page

Post by alex.barylski »

I'm confused as to what the question is can you explain in greater detail...?
seaturtle
Forum Newbie
Posts: 2
Joined: Mon Aug 24, 2009 9:44 pm

Re: Advice For A Rookie - Form Submit to Populate Web Page

Post by seaturtle »

I briefly looked at sessions and I'm not sure that's it.

I need to create a form that visitors will fill out that will dynamically create a web page for them on my site (based on a template I design) that will fill out their information in the appropriate places. They will need to be able to update their information as needed. Basically I guess I need it to build an account for them that populates a web page...an account that they can update.

I hope this makes more sense. I know what I want it's just hard to put it into words...

Thanks :)
SL20
Forum Newbie
Posts: 2
Joined: Mon Sep 14, 2009 6:56 am

Re: Advice For A Rookie - Form Submit to Populate Web Page

Post by SL20 »

I am also fairly new to PHP, but I believe the solution to your problem will be to make use of a database to store and retrieve the information you want to display. You can use CSS to format the output.

You can also make use of sessions to allow a user to log in.

All the information you need can be found on http://www.w3schools.com
Post Reply