i wonder if anyone kniws how to populate a selectbox that includes data from two different tables. first i want to load the groups i have created, the group table consist of gid,gname and is connected to user groups wich includes ugid, uid, gid.
the third table is users which includes name, min and pin.
what i want is to populate a selectbox that list the names of all the users and also the groups. i am using mysql and php.
is there anyone who have been facing the same problem and can give me some help?