Jump to content

PHP MySQL query output table with update and delete related link


gasma1975

Recommended Posts

Hi,

 

I would like to know how to perform a query and output it as a table in my page.

 

But I would like to have a delete or update option wich is associated to the query. Similar to the table in phpadmin. You have a pencil for the edit or red cross to delete it.

 

Any idea where I can find some info about it ?

 

thank you,

 

gasma1975,

You do a Query to list all the Records.  When you do that, you include a Link to the Record ID.  On the page you do a $_GET to get the record ID and then you load it into a FORM.  From there you can resubmit the FORM with your changes and do a UPDATE to that record ID.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.