Skip to content
Advertisement

Issue in php mysql code. How to get specific ordered data from db and dispay to inside as a table view in php?

I used to get data from db and display to a table inside (see image) It display all the ordered data from the db to the (Item, Qty,Price,Total). But i need only specific ordereditem filtered by orderno. Whats wrong in below code?
Solve this issue and Thanks in advance. enter image description here Below is the php mysql method.

JavaScript

And below is the php html code

JavaScript

Advertisement

Answer

i’ve changed readitems method like below to get desired output as i wanted. Thanks to the one who tried to help. m.finger to the downvoters!

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement