Updating a table Via a form.

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
buttmcfloyd
Forum Newbie
Posts: 2
Joined: Thu Apr 14, 2005 3:45 pm

Updating a table Via a form.

Post by buttmcfloyd »

if this needs to be moved, go ahead.

i'm in a bind. i have to make a page that will update a table showing party times via a form in the page..

ie: browse to the website
fill out first and last name, date, starting time, ending time, location, and comments (maybe some more variables..)
hit submit
your party is added to the table.

ideal situation would include the table to be sorted by date/time, or name


this is going to be used as a database of Graduation parties in case you're wondering.

i'm planning on putting the page in %siteroot%/graduation/

i'm quite unfamiliar with PHP...sorry!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

if this needs to be moved, go ahead.
we'd move it whether you like it or not, if it needs it. :P

that's a pretty standard form processing page it sounds like.. have a read through the forums.


Moved to PHP - Code.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

use a html form, then pass the info to a php page and update a sql database with the variables. have a row in your sql table that is data/time and when you view the table on a php page just sort by date/time.
buttmcfloyd
Forum Newbie
Posts: 2
Joined: Thu Apr 14, 2005 3:45 pm

Post by buttmcfloyd »

yeah i didn't think it would be too hard but, i'm REAL new to webdesign and i'm sorta on a time limit..graduation season is coming close.

again, this table's data should be updated in all the right spots from the information given.
Post Reply