I have 3 databases: UK, US and Worldwide
In the the three databases there are 2 tables called: flags and flash
1. I want to output the flags table from the three databases (all data inside that table from the three databases) into a page.
2. I want to output the 2 tables from the three databases (all data inside that 2 tables from the three databases) into a page.
Usually I output from one table and from 1 database by adding this code:
Code: Select all
include "../includes/$database.php";
// This block grabs the whole list for viewing
$sql = mysql_query("SELECT * FROM $table ORDER BY dateadded DESC");Youssef