Well you are correct Chuck about seperate data bases. I wish I knew how to combine them into one.
Will not bother you anymore and go back to the way I hade it hard coded.
I am not sure where to uncomment the $link and mysql_select_db.
Thanks for answerig and explaining the problem.