Page 1 of 1

Updating a table Via a form.

Posted: Thu Apr 14, 2005 3:51 pm
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!

Posted: Thu Apr 14, 2005 3:54 pm
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.

Posted: Thu Apr 14, 2005 3:56 pm
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.

Posted: Thu Apr 14, 2005 3:57 pm
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.