Location: PHPKode > projects > O - OpenSource GroupWare > osgw/osgw/config/data/o_countries.php
<?php
/**************************************************************************
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   @Authors:	Ryan Thompson(hide@address.com)
***************************************************************************/

$k = 0;
//I want to move this to a simple text file.

require($root_dir ."/config/country_list.php");

foreach($countries AS $key => $value)
{
	$tmp = array("c_id"=>$key, "country"=>$value);
	$country_list[$k]= $tmp;
	
	$k++;
}
//For some reason the array doesn't get created properly if I create it directly to $data
$data = $country_list;
Return current item: O - OpenSource GroupWare