Hey DrTechie
check out some of the tutorials and articles at http://www.phpbuilder.com <-- here!
If you have a menu based on a table with columns such as
destination
displaytext
why not just add a column called
* menuname
then when querying you just ensure that menuname matches the menus you are trying to build (or process in php). Because you can sort by menuname you can keep them alltogether.
Maybe even add a column called
* sortorder
to ensure that the menuname's come out in the right order because maybe you don't want them alphabetically.
so
$sql = "select * from table1 order by sortorder, menuname";
would give you all your menu options sorted nicely.
good luck