Hope someone can help, i am relatively new to PHP and MYSQL.
what i need to figure out is this:
I want an admin page that will pull all records from a property database and display them all on one page with two buttons next to them an edit record and delete record button
example:
id | location | description | "edit record button" delete record button"
1 | london | a nice flat | "edit" "delete"
2 | Manchester | test |
3 | test | test|
4 | test | test |
5 |test | test |
I am ok creating this page by querying the database but what i need is to be able to click on the edit button and another form appear with the data from this record populating the relevant field in the new form so i can edit that specific record. for example if i click on the edit button on row 4 the new form will appear with the data from this record populating each field.
Any thoughts?
hope one of you gurus can help
think i am confusing myself, hope someone can understand what i am trying to achieve.
what i need to figure out is this:
I want an admin page that will pull all records from a property database and display them all on one page with two buttons next to them an edit record and delete record button
example:
id | location | description | "edit record button" delete record button"
1 | london | a nice flat | "edit" "delete"
2 | Manchester | test |
3 | test | test|
4 | test | test |
5 |test | test |
I am ok creating this page by querying the database but what i need is to be able to click on the edit button and another form appear with the data from this record populating the relevant field in the new form so i can edit that specific record. for example if i click on the edit button on row 4 the new form will appear with the data from this record populating each field.
Any thoughts?
hope one of you gurus can help
think i am confusing myself, hope someone can understand what i am trying to achieve.