As a developer, whenever you want to write the php code to get the data from the MySQL database, sometimes it becomes tiresome and time taking. And what if you had to do it dynamically. Well I have not generated the code dynamically using <a href="http://www.phpmyedit.org/">phpMyEdit, but I believe that should be pretty much doable.
But what you would definately like this open source php code to view, edit and generate php code, saving you some time to concentrate on better and interesting things. The official website has this description:
phpMyEdit generates PHP code for displaying/editing MySQL tables in HTML. All you need to do is to write a simple calling program (a utility to do this is included). It includes a huge set of table manipulation functions (record addition, change, view, copy, and removal), table sorting, filtering, table lookups, and more.
I liked it for the very little php coding that I do anyways for maintaining my websites.