This post explains a simple ArrayList program to add employee details and to display ArrayList data using foreach loop in Java. The output of the program is as shown in the following picture.
A simple HTML form containing fields – Name, Address Line1, Address Line2, and E-mail. On submitting the form, the data is inserted into MySQL table using PHP code. We will iterate over the each record present in the table to display MySQL data in an HTML table.
This program is to develope demonstrate an XHTML document that illustrates the use of external style sheet, ordered list, table, borders, padding, color, and the tag.
PHP program to store current date-time in a cookie and display the Last visited date-time on the web page upon revisiting the same web page. The code is quite simple and small.