If is on same server, it is easy, you can connect localhost to the site DB and get data from DB. If is on other server, then you need to give access to your server for DB.
OR an another solution is to use JavaScript to get out data to any site, but in BOTH case you will need to write a small script to do this, based probabbly on an ID. |