"Sandeep Hundal" <[EMAIL PROTECTED]> wrote:
> i've got a simple problem, yet it doesn't work, so i hope someone can
> help me out here.
>
> i've got a table with id, group, and name. each group has many names
> ofcourse.

Are these *all* of the field names?

> now i need to output the data like :
> > group1
>    >name1
>    >name2
>    >name3
>
> >group2
>    >name4
>    >name5
>
> >group3
>    >name6
> etc........
>
> my query is "SELECT group, name FROM $tablename WHERE approved='yes'
> GROUP BY folder ORDER BY folder;

You lost me.  Where is the field "folder"?  Can you output the results of
"DESCRIBE tablename" for the table and a few records?

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to