Log in

View Full Version : MyChenQL, part 4


filburt1
12-18-2002, 08:20 PM
How can I get all forumids from the forum table as one-row, comma-delimited just like implode() does?

i.e.,

SELECT what FROM forum

with the result:

1,2,4,5,6,9...

filburt1
12-18-2002, 10:42 PM
I win! I posted the unanswerable MyChenQL question!

Xenon
12-18-2002, 10:46 PM
i've looked into it, but i think it's not possible
and if it is, then i don't have an idea :)

why do you need it, with a whileloop you get the same effect, so no extra queries.....

filburt1
12-18-2002, 10:47 PM
I know, but I thought the idea is when in doubt, let MySQL do the work. :)

zajako
12-19-2002, 09:57 AM
getting lower queries is so that mysql does less work, so when in doubt let the php do the work and just request the mysql when needed :P