G
gnewsgroup
I am not sure how to describe such hanging(?) tables in English
language. But, the following picture shows it clearly.
http://farm3.static.flickr.com/2223/2176441194_37ee1f9ca7_o.png
Normally, it is pretty easy to write a sql that gives us the table
shown at the top of the image. In the web form, we quite often would
like to present it as shown at the bottom of the image.
What's the *easiest* way to do?
I have done this by simply constructing the table through spitting
out
<tr><td>blah blah</td><td>blah blah</td></tr>.
Better yet (not shown in the image), add one additional line for each
customer to display his/her order subtotal.
I guess there might be easier ways to achieve the same result, either
in the database layer or in the application layer.
Any idea?
language. But, the following picture shows it clearly.
http://farm3.static.flickr.com/2223/2176441194_37ee1f9ca7_o.png
Normally, it is pretty easy to write a sql that gives us the table
shown at the top of the image. In the web form, we quite often would
like to present it as shown at the bottom of the image.
What's the *easiest* way to do?
I have done this by simply constructing the table through spitting
out
<tr><td>blah blah</td><td>blah blah</td></tr>.
Better yet (not shown in the image), add one additional line for each
customer to display his/her order subtotal.
I guess there might be easier ways to achieve the same result, either
in the database layer or in the application layer.
Any idea?