sorry this is probably very n00bie question but im stuck. i have performed an SQL on my database and my $result looks something like this:
ID NAME
-------------------
1 john
1 paul
2 barry
2 dave
2 susan
3 janet
i know how to populate a HTML menu with all these names:
while ($row = ibase_fetch_object ($result)) {
...
}
how do I populate a menu with not all the names but only names with a specific ID?
many thanks