Need a custom WordPress theme? I'm available for freelance WordPress work.

Aaron Robbins Adventures In Php And WordPress

Aaron Robbins Adventures In Php And WordPressSkip To Comments

Aaron Robbins Adventures In Php And WordPressPHP Scripts

Aaron Robbins Adventures In Php And WordPress 

Aaron Robbins Adventures In Php And WordPressSubscribe

September 13th, 2007

PHP Function: MySQL Row To Form

Need a quick way to edit mysql data with php? This php function takes the name of a mysql table as its input and then builds a unique form for each row in the specified table. The php function checks to length of each field’s data in order to determine if it belongs in a textarea or input field. A unique and valid html form is then built with a uniquely identified update button for each row. This php script does not process the updating it only handles getting mysql field data into editable forms quickly.

Download rowToForm.zip here.

Comments

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • Ed Says:
    March 18th, 2008 at 7:32 pm

    I am newbie and got rowToForm to work!!! Is there a solution whereby the form will retain input data after update. Any help would be greatly appreciated. Thanks

« Previous Post: PHP Function: Time Based Background
» Next Post: Disneyland Jungle Cruise Sign Wallpapers