Practical PHP

  • Increase font size
  • Default font size
  • Decrease font size
Home mysqlphp-writer MySqlPHP help PHP Code generator

PHP Code generator

E-mail Print

One of the most repetitive task a web developer has to deal with is making forms to populate mysql-databases. Scripts that read the database tables, scritps that write to the tables, scripts that link to other script that makes it possible to change the content of a single line in a table.

 

This is not only something that takes a lot of time, it is also extremely boring. Especially if yout table har more than a few fields. It is one thing to make 3 form-fields. That is manageable. But some tables have literally hundreds of fields, and this makes the job a complete nightmare.

Luckily this can be automated! We have a script that generates the actual PHP code for this. All you need to to is copy it from the browser, and paste it into your favourite PHP-editor. It does not generate code that will impress anyone, but it will save you a lot of time. Every time you use it.

The script is available here, with a section dedicated to how to download it, install it, configure it, and finally use it.

 

The script may be tested  here. The database in use is the joomla-database for this site.

 

Main Menu


Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in /usr/www/users/infostil/www.practical-php.com/libraries/joomla/cache/handler/callback.php on line 99