I have a db table (t1) with a list of couteries, provinces and regions. When a user saves details to a another db table (t2) it only saves the region, is there a way I can retrieve the province and country without adding it to (t2)
I could do
$sql_t2 = mysql_fetch_assoc("SELECT * FROM table2")); $sql_reg = mysql_fetch_assoc(mysql_query("SELECT * FROM table1 WHERE name = " . $sql_2)); $sql_prov..... $sql_country....
But this seems a bit long winded