I decided to save the codes to a DB where I can add/edit as I please. Is there a way to get them as you did in the init_startup without using datastore, or by using datastore some other way? Right now I have:
PHP Code:
if(THIS_SCRIPT == 'showthread') {
$sql = "SELECT * FROM " . TABLE_PREFIX . "countrycodes";
$result = $db->query_read_slave($sql);
while ($c = mysql_fetch_array($result) {
$countries[$c[0]] = $c[1];
}
}