gasma1975 Posted January 19, 2008 Share Posted January 19, 2008 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, Quote Link to comment https://forums.phpfreaks.com/topic/86792-php-mysql-query-output-table-with-update-and-delete-related-link/ Share on other sites More sharing options...
$username Posted January 19, 2008 Share Posted January 19, 2008 I think you need to come back or post your code. Or you can go over to PHP Freelancing and post for some one to build you what you want. B Quote Link to comment https://forums.phpfreaks.com/topic/86792-php-mysql-query-output-table-with-update-and-delete-related-link/#findComment-443621 Share on other sites More sharing options...
revraz Posted January 19, 2008 Share Posted January 19, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/86792-php-mysql-query-output-table-with-update-and-delete-related-link/#findComment-443629 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.