Page 1 of 1

How can i display these results in a HTML table?

Posted: Thu Aug 14, 2014 7:33 pm
by donny
hello,

i am trying to figure out how i can display results in a html table

when the customer types in their order number i want to show only certain fields of each row . there will be multiple rows with the same order number?

anybody can give me an idea of what my code should be looking like?

thank you

Re: How can i display these results in a HTML table?

Posted: Thu Aug 14, 2014 7:45 pm
by Celauran
Why are there multiple rows with the same order number? That doesn't sound right at all.

Re: How can i display these results in a HTML table?

Posted: Thu Aug 14, 2014 8:32 pm
by donny
i want to show a list of products they bought. i list each product bought in a database separately with the order number. I'm sure theres a better way to do it but this is a very simple site i am working on not going to be much traffic/orders

Re: How can i display these results in a HTML table?

Posted: Mon Aug 25, 2014 4:23 am
by donny
bump...anybody?

Re: How can i display these results in a HTML table?

Posted: Mon Aug 25, 2014 5:51 am
by Celauran
What have you tried? Where are you running into problems? You should be able to accomplish this with a simple query selecting the columns you want WHERE orderid = foo