View Full Version : Update Page


alebeau
04-22-2006, 02:35 AM
Hi, I am building a site for someone. They want me to build them a page to where they can update some of the records. How do I set up the page?

Please help me

God Bless.

Douglas
04-22-2006, 02:37 AM
Well, you can use PHP + MySQL, you should learn them here:

http://www.tizag.com/phpT/
http://www.tizag.com/mysqlTutorial/

All you have to do is use the UPDATE function in MySQL to update the records (you will learn as you read). ;D

Phillip
04-22-2006, 01:08 PM
Hi, I am building a site for someone. They want me to build them a page to where they can update some of the records. How do I set up the page?

Please help me

God Bless.


Quite simple, create an email form which sends all the information to
a database:

$query = "INSERT INTO updates (name, comment, stamp, date_entered
VALUES '$n' '$s' '$dn';
$result = mysql_query ($query) or trigger_error $query\n<br />Mysql error: " . mysql_error());

and then create a while loop to retrive the information. Then create a place
to delete it something like this query:

$query = "DELETE from UPDATES (name, comment, stamp, date_entered VALUES '$n' '$s' '$dn';
$result = mysql_query ($query) or trigger_error("Query: $query\n<br />Mysql error: " . mysql_error());

alebeau
04-22-2006, 08:24 PM
Hi, I don't know how to set up a database.