|
-
Feb 17th, 2009, 02:09 PM
#4
Re: How can I achieve this?
I think you might need to do a second query to return all of the prices and model numbers, if you're wanting to do that with just SQL. this could make everything very slow, though.
with php, though, it's possible to keep track of what record you're on and what the values of make and man are, and if they're the same as the last values of make/man, then you can keep displaying information as if it were the same row. if they change, you simply make a new row and start displaying the basic information again, and keep track of that make/man. do you understand what I'm getting at? I don't have any time to write anything down right now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|