can any body tell me why this isnt working, thanks
function getInfo()
{
$iniData = parse_ini_file( "jquery_msg_admin/data/php_browscap.ini", true );
foreach($iniData as &$row){
if(fnmatch($pattern,$_SERVER['HTTP_USER_AGENT'])){
foreach($iniData as $parent => $parentparameters){
if($parameters['Parent']==$parent){
foreach($iniData as $parentparent => $parentparentparameters){
if($parentparameters['Parent']==$parentparent){
$out = array_merge($parentparentparameters,$parentparameters,$parameters);
}
}
}
}
break;
}
}
return $out;
}