PHPSuperBlog.com

Create a HTML form with PHP for loop and table

To create a HTML form with just a few text fields and other HTML form elements is easy, but sometimes in a stock control system or price input system for example, there might be a need for many text fields and other different HTML form elements repeatedly appear in the HTML form and they might be more than 100. To type in the codes of all of them will take too much time. Therefore a PHP for loop and a table is good for this task. Continue Reading →

HTML form – Drop down menu with data from MySQL datebase as options

To create a drop down menu is easy, just use the codes I mentioned in my past post: HTML form element – Drop down menu.

But what if you want to have the data in the MySQL database to be the options of the drop down menu and the options are over 100 or more?? It is very time consuming to create all. But I am going to show you an easy way to do so which by creating a drop down menu involving with PHP and query. The codes are:

Continue Reading →

HTML form element – Drop down menu

I often like to use drop down menu for the users to input data because it can restrict the choices from the users and can avoid them from making typo mistakes. It is simple to implement and the codes are:

Continue Reading →

  • Categories

  • Useful Downloads