Monday, March 18, 2013

HOWTO Quickly Create PHP Forms with phpMyEdit



One of the biggest hassles of building a site in PHP is that there is no way to easily generate forms for your database. The same is true for most systems, CRUD mechanisms take most of the design time, even when the core logic is simple.

In PHP there is a simple program called phpMyEdit that takes the time out of creating these forms. Unfortunately, it is rather old and only works with MySQL, but for most projects that is what you need.

To Setup

  1. Download phpMyEdit
  2. Extract the contents in to the directory of your site.
  3. Go to: http://example.com/phpMyEdit-5.1/phpMyEditSetup.php replacing 5.1 with your version of phpMyEdit.
  4. Enter your database credentials and server.
  5. Choose your database.
  6. Choose your fields.
  7. Create the form!
You'll want to secure the forms, of course, behdind something that checks for administrator rights, but that is about it!

No comments:

Post a Comment