I'm having a bit of problems working with PHP/MySQL technology.
MySQL Query
SELECT tblStatus.Name, tblApplication.Reason, tblApplication.Hosting, tblApplication.Email FROM tblStatus INNER JOIN
tblApplication ON tblStatus.StatusID = tblApplication.Status WHERE (((tblStatus.Name)="Applying"));
Data in tblStatus
LOCK TABLES tblStatus WRITE;
INSERT INTO tblStatus VALUES(1, 'Applying');
INSERT INTO tblStatus VALUES(2, 'Accepted');
INSERT INTO tblStatus VALUES(3, 'Rejected');
INSERT INTO tblStatus VALUES(4, 'Acceptance Email Sent');
INSERT INTO tblStatus VALUES(5, 'Rejection Email Sent');
UNLOCK TABLES;
I want to be able to change Applying from tblStatus.Name to any of the other values within that table...eg. Accecpted,
Rejected, etc.
I want to create a php page that performs the mysql query above, but puts the tblStatus.Name into a combo box. I would also
like to have a save button to save any changes I make to tblStatus.Name.
I know how to preform MySQL queries and update data from MySQL. The problem is that I don't know how to do that on one page.
How can I do that?