Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15634

How to add my ordering items in a table before saving them in DB

$
0
0
Hi. I'm new to PHP development. I'm working for my practice on a dummy website. Its kind of sale project.
Its an ordering Form. Where I have list of items to select from. Once the item is selected, their quantity is entered and their unit price is retrieved and put into textbox. After that there is an Add Item button. I want that when I press the add item button so the selected item is added to the table below. When I finish entering all my items into the table so that table shows me Total amount, and a Button below that for saving the record.
When I press the save button so all the entries of the table get stored against the Order number.

When I was working with vb.net so there I had a DataTable, DataSet and Datagrid to work upon. But I don't know that do I have anything similar in PHP.

Question:
Do I have any option like dataTable or Dataset in PHP. Where I could add items like this?

If my delivered idea is not clear so I can explain more? :):)

Viewing all articles
Browse latest Browse all 15634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>