Php Page To Edit Info
Need a PHP page urgently that we will name: register.php
We will email out a link to this and append an ID to the URL example:
/register.php?id=12
This will then show a simple form which will display the fields that correspond with the ID number in the URL and allow the user to edit the fields then press the “Submit” button.
This will take them to a, “Thank you for registering” page.
We will add in the desin after.
The MYSQL Table structure:
—
— Table structure for table `data`
—
CREATE TABLE IF NOT EXISTS `data` (
`ID` int(5) NOT NULL AUTO_INCREMENT,
`FIRST_NAME` varchar(255) NOT NULL,
`LAST_NAME` varchar(255) NOT NULL,
`JOB_TITLE` varchar(255) NOT NULL,
`COMPANY_NAME` varchar(255) NOT NULL,
`EMAIL` varchar(255) NOT NULL,
`INDUSTRY_TYPE` varchar(255) NOT NULL,
`REGISTERED` varchar(1) NOT NULL,
`PHONE` varchar(255) NOT NULL,
`GUESTS` varchar(255) NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=195 ;