# PHP and SQL - Editing a table and updating it

**URL:** <https://forum.kirupa.com/t/php-and-sql-editing-a-table-and-updating-it/72191>\
**Category:** Uncategorized\
**Created:** [December 3, 2004, 12:43am UTC](https://forum.kirupa.com/t/php-and-sql-editing-a-table-and-updating-it/72191 "2004-12-03T00:43:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![four1seven](https://avatars.discourse-cdn.com/v4/letter/f/d78d45/32.png) [@four1seven](https://forum.kirupa.com/u/four1seven)\
**Post date:** [December 3, 2004, 12:43am UTC](https://forum.kirupa.com/t/php-and-sql-editing-a-table-and-updating-it/72191/1 "2004-12-03T00:43:15Z")

</div>

[font=Trebuchet MS]I’ve got a Script/Form that throws the information to the database entered on the form. It works beautifully, and I also have a script that pulls it to page from the database…that works beautifully as well.[/font]  
[font=Trebuchet MS][/font]  
[font=Trebuchet MS][/font]  
[font=Trebuchet MS]The thing is, it’s for a client, if they mess up when they enter it in, i want them to be able to edit it, so I don’t have to go in.[/font]  
[font=Trebuchet MS][/font]  
[font=Trebuchet MS]I really don’t know where to start. [/font]  
[font=Trebuchet MS][/font]  
[font=Trebuchet MS]Any help on a simple query that will edit fields in MySQL. [/font]  
[font=Trebuchet MS][/font]  
[font=Trebuchet MS]There are about 8 fields in this table. And I want him to be able to select which entry he’d like to edit as well. If it lists all of them that’s fine too… please help. :puzzled: [/font]
