View Single Post
Old 08-20-2002, 08:21 AM   #1 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
FAQ page w. 1 query.

here is what i need to print out:

Quote:
1. Question #1
2. Question #2
3. Question #3

1. Answer #1

2. Answer #2

3. Answer #3
i am doing something like:: select id, question, answer from faq

then i need to run a loop on the questions and then a seperate loop on the answers.

i could do this in 1.72 seconds using 2 queries, but it would be better if i just used 1...

blegh.
__________________


Urban Clothing
Admin is offline   Reply With Quote