twitterfacebook

Hospital Directory

 Hospital Locations in , USA

"; if ($rows==0){ //echo "No ".$type."(s) found in ".$county."
"; }else{ //echo $rows." ".$type."(s) found in ".$county."
"; } echo ""; /* * Display the results from the results array. */ foreach($stateResult as $num=>$res) { $ratingImg = "Rate This!"; $count = $num; //echo $num . ': '.$res['CenterName'].' rating: '.($res['rating_a'] == null ? 'null':$res['rating_a']).'
'; $featArr[$count]{$num."CenterName"} = $res['biz_name']; $featArr[$count]{$num."City"} = ucwords($res['e_city']); $featArr[$count]{$num."laty"} = $res['loc_LAT_centroid']; $featArr[$count]{$num."longy"} = $res['loc_LONG_centroid']; $featArr[$count]{$num."Streetaddy"} = $res['e_address']; $featArr[$count]{$num."Zip"} = $res['e_postal']; $featArr[$count]{$num."ID"} = $res['id']; $featArr[$count]{$num."State"} = $state; $ID = $featArr[$count]{$num."ID"}; //echo $ID; /* * Gets the star rating for each bank. * See /libs/funcs/funcs.php */ if ($res['rating_a'] != null) { $ratingImg = getStarRating($res); } if ($bgcolor == $rowcolor2) $bgcolor = $rowcolor1; else $bgcolor = $rowcolor2; echo ""; echo ""; echo ""; } echo "
  Rating ? Name Address  City  Zip
".$ratingImg."".$featArr[$count]{$num."CenterName"}."".$featArr[$count]{$num."Streetaddy"}."".$featArr[$count]{$num."City"}."".$featArr[$count]{$num."Zip"}."
";?>
"; //js array vars $name = "js_featArr"; $name2 = "js_realRows"; function phpArrayToJsArray($name,$array,$prePend='var ') { if (is_array($array)) { // Array recursion $result = $name.' = new Array();'."\n"; foreach ($array as $key => $value) { $result .= phpArrayToJsArray($name.'["'.$key.'"]',$value,''); } } else { // Base case of recursion $result = $name.' = "'.$array.'";'."\n"; } return $prePend.$result; } ?>

 Interactive Map of Hospital(s)