I would like to set a form that would pull down record data from a sql table, populate the appropriate data fields and allow the user to make changes to certain fields and then overwrite the same record in the sql table. Can someone point me to tutorial on how to set that up?
I am half way there because I know how to call existing data from a sql table.
Would also like the ability to delete records to. I'll bet this would probably be included in the same tutorial.
PHP form for editing records
Moderator: General Moderators
- edawson003
- Forum Contributor
- Posts: 133
- Joined: Thu Aug 20, 2009 6:34 am
- Location: Los Angeles, CA - USA
Re: PHP form for editing records
Populate the form fields with the SQL result data using the value="" attribute for <input> fields, checked="checked" for checkboxes, selected="selected" for radio buttons and just put the value inside of textarea boxes.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.