[snip] can you paste the array you're using? [/snip] It was in the original post..... Array ( [H7] => Array ( [0] => Array ( [lon] => -99.2588 [lat] => 29.1918 ) [1] => Array ( [lon] => -99.2205 [lat] => 29.1487 ) [2] => Array ( [lon] => -99.23 [lat] => 29.1575 ) [3] => Array ( [lon] => -99.242 [lat] => 29.1545 ) ) [H6] => Array ( [0] => Array ( [lon] => -99.0876 [lat] => 29.216 ) [1] => Array ( [lon] => -99.0618 [lat] => 29.179 ) } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php