did you mean you need help with an sql query for this?
sounds like
select id, group, name from MYTABLE order by group;
since i cant read your mind and you didnt specify anything else and since
this is a php-db mailing list, hope that's what you are asking for... of
course i could me a mile off...
[EMAIL PROTECTED] wrote:
> Hi..
>
> I need to get 2 groups of random result with 1 group always on top of the
> other.
> Can anyone help me with this please..
>
> Something like
>
> id|group|name
> 21john
> 51smith
> 32 1sara
> 12 1michael
> 12don
> 92beth
> 42bob
>
>
--
Leo G. Divinagracia III
[EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php