This example uses a function to validate the user name and password. Once they pass validation the item orderd, and details will be added to the database.
The database consists of 2 tables. One table called tblusers which holds the user name and password. Table 2 holds the item details
along with the inserted user ID from the user table for association
Enter any name password and item with price and qty. If added it will be displayed back with the total price.