header('Content-type: text/xml');
echo '';
$NumStores = 4;
$Store1 = array ('Canada','Ontario','LCBO','Some Address');
function Stores ($i,$Store1) {
if ($i == 0){
writeCountry($Store1[0]);
CloseXML();
}
}
function writeCountry ($value){
echo '';
}
function closeXML(){
echo '';
}
//whatever');
for ($i=0; $i < $NumStores; $i++) {
Stores($i,$Store1);
}
?>