PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
...And you have the correct access rights for that database.
If not you will have to make 2 different database connections and do 2 differnet database queries and use something like array_multisort to combine them both and sort them how you want them.