PHP Google Search Array Help

I've got a new project that works primary off of google's PHP access from their Ajax API Search. (http://code.google.com/apis/ajaxsearch/documentation/#The_Basics) You'll find "PHP Access" referenced at the very bottom.

With that said, I've come as far as getting actual results by processing the JSON string. The results returned were an array that I'm having a hard time trying to take what I need from. Below is the PHP used and the return from the PHP.

I simply need to pull the "Title" and "streetAddress" from this array. Help!


// PHP
 
<?
$url = "http://ajax.googleapis.com/ajax/services/search/local?v=1.0&rsz=large&&sll=40.754084,-73.977385&q=".str_replace(" ", "+", $srchterm);
 
// sendRequest
// note how referer is set manually
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 50);
 
$body = curl_exec($ch);
curl_close($ch);
 
// now, process the JSON string
$json = json_decode($body);
// now have some fun with the results...
 
 
if( !empty($json) )
{
//        $counter=0;
        echo "<table border=\"1\">";
        foreach($json as $index => $obj)
        {
                if($counter==0)
                {
                        echo "<tr>";
                        foreach($obj as $key=>$value)
                        {
                                echo "$key<br><br>";
								
								
								
				print '<pre>';
				print_r($value);
				print '</pre>';
				echo "<br><br>--<br>";
 
                        }
                        echo "</tr>";
                }
                echo "<tr>";
 
 
               echo "</tr>";   
 
        ++$counter;
 
        }
        echo "</table>";
} 
 
?>
 
// Array Returned
 
results
 
Array
(
    [0] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.761202
            [lng] => -73.984177
            [accuracy] => 8
            [title] => Caroline's Comedy Club
            [titleNoFormatting] => Caroline's Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&iwstate1=dir%3Afrom
            [streetAddress] => 1626 Broadway
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40761202&Point.longitude_e6=-73984177&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.761202%2C-73.984177&latlng=40761202%2C-73984177%2C10515198135650206436&near=40.761202%2C-73.984177
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 757-4100
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 1626 Broadway
                    [1] => New York, NY
                )
 
        )
 
    [1] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.764547
            [lng] => -73.985678
            [accuracy] => 8
            [title] => Broadway Comedy Club
            [titleNoFormatting] => Broadway Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&iwstate1=dir%3Afrom
            [streetAddress] => 318 W 53rd St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40764547&Point.longitude_e6=-73985678&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.764547%2C-73.985678&latlng=40764547%2C-73985678%2C1613282179634804989&near=40.764547%2C-73.985678
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 757-2323
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 318 W 53rd St
                    [1] => New York, NY
                )
 
        )
 
    [2] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.757398
            [lng] => -73.990132
            [accuracy] => 8
            [title] => Laugh Factory @ Times Square
            [titleNoFormatting] => Laugh Factory @ Times Square
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&iwstate1=dir%3Afrom
            [streetAddress] => 303 West 42nd Street
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40757398&Point.longitude_e6=-73990132&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.757398%2C-73.990132&latlng=40757398%2C-73990132%2C17982312022101103723&near=40.757398%2C-73.990132
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 586-7829
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 303 West 42nd Street
                    [1] => New York, NY
                )
 
        )
 
    [3] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.740731
            [lng] => -74.004802
            [accuracy] => 8
            [title] => Comix Comedy Club in NYC
            [titleNoFormatting] => Comix Comedy Club in NYC
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&iwstate1=dir%3Afrom
            [streetAddress] => 353 West 14th Street
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40740731&Point.longitude_e6=-74004802&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.740731%2C-74.004802&latlng=40740731%2C-74004802%2C9671625654901015764&near=40.740731%2C-74.004802
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 524-2500
                        )
 
                    [1] => stdClass Object
                        (
                            [type] => Fax
                            [number] => (212) 524-2525
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 353 West 14th Street
                    [1] => New York, NY
                )
 
        )
 
    [4] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.74413
            [lng] => -73.996522
            [accuracy] => 8
            [title] => Gotham Comedy Club
            [titleNoFormatting] => Gotham Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&iwstate1=dir%3Afrom
            [streetAddress] => 208 W 23rd St # 1
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40744130&Point.longitude_e6=-73996522&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.74413%2C-73.996522&latlng=40744130%2C-73996522%2C10848099718300064245&near=40.74413%2C-73.996522
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 367-9000
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 208 W 23rd St # 1
                    [1] => New York, NY
                )
 
        )
 
    [5] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.774815
            [lng] => -73.95359
            [accuracy] => 8
            [title] => Comic Strip Live NYC Comedy Club
            [titleNoFormatting] => Comic Strip Live NYC Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&iwstate1=dir%3Afrom
            [streetAddress] => 1568 2nd Ave
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40774815&Point.longitude_e6=-73953590&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.774815%2C-73.95359&latlng=40774815%2C-73953590%2C13387788213747276045&near=40.774815%2C-73.95359
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 861-9386
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 1568 2nd Ave
                    [1] => New York, NY
                )
 
        )
 
    [6] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.758575
            [lng] => -73.985014
            [accuracy] => 8
            [title] => Ha Comedy Club
            [titleNoFormatting] => Ha Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&iwstate1=dir%3Afrom
            [streetAddress] => 163 W 46th St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40758575&Point.longitude_e6=-73985014&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.758575%2C-73.985014&latlng=40758575%2C-73985014%2C18388299876475516671&near=40.758575%2C-73.985014
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 977-3884
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 163 W 46th St
                    [1] => New York, NY
                )
 
        )
 
    [7] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.738959
            [lng] => -73.980769
            [accuracy] => 8
            [title] => New York Comedy Club
            [titleNoFormatting] => New York Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&iwstate1=dir%3Afrom
            [streetAddress] => 241 E 24th St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40738959&Point.longitude_e6=-73980769&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.738959%2C-73.980769&latlng=40738959%2C-73980769%2C1747813457154032631&near=40.738959%2C-73.980769
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 696-5233
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 241 E 24th St
                    [1] => New York, NY
                )
 
        )
 
)
 
 
--
stdClass Object
(
    [pages] => Array
        (
            [0] => stdClass Object
                (
                    [start] => 0
                    [label] => 1
                )
 
            [1] => stdClass Object
                (
                    [start] => 8
                    [label] => 2
                )
 
            [2] => stdClass Object
                (
                    [start] => 16
                    [label] => 3
                )
 
            [3] => stdClass Object
                (
                    [start] => 24
                    [label] => 4
                )
 
        )
 
    [estimatedResultCount] => 8721
    [currentPageIndex] => 0
    [moreResultsUrl] => http://www.google.com/local?oe=utf8&ie=utf8&num=8&mrt=yp%2Cloc&sll=40.754084%2C-73.977385&start=0&hl=en&q=comedy+clubs+new+york+city
)
 
 
--
stdClass Object
(
    [center] => stdClass Object
        (
            [lat] => 40.756887
            [lng] => -73.979196
        )
 
    [span] => stdClass Object
        (
            [lat] => 0.043027
            [lng] => 0.061454
        )
 
    [sw] => stdClass Object
        (
            [lat] => 40.73537
            [lng] => -74.00992
        )
 
    [ne] => stdClass Object
        (
            [lat] => 40.7784
            [lng] => -73.94847
        )
 
)
 
 
--
cursor
 
Array
(
    [0] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.761202
            [lng] => -73.984177
            [accuracy] => 8
            [title] => Caroline's Comedy Club
            [titleNoFormatting] => Caroline's Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&iwstate1=dir%3Afrom
            [streetAddress] => 1626 Broadway
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40761202&Point.longitude_e6=-73984177&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.761202%2C-73.984177&latlng=40761202%2C-73984177%2C10515198135650206436&near=40.761202%2C-73.984177
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 757-4100
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 1626 Broadway
                    [1] => New York, NY
                )
 
        )
 
    [1] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.764547
            [lng] => -73.985678
            [accuracy] => 8
            [title] => Broadway Comedy Club
            [titleNoFormatting] => Broadway Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&iwstate1=dir%3Afrom
            [streetAddress] => 318 W 53rd St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40764547&Point.longitude_e6=-73985678&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.764547%2C-73.985678&latlng=40764547%2C-73985678%2C1613282179634804989&near=40.764547%2C-73.985678
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 757-2323
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 318 W 53rd St
                    [1] => New York, NY
                )
 
        )
 
    [2] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.757398
            [lng] => -73.990132
            [accuracy] => 8
            [title] => Laugh Factory @ Times Square
            [titleNoFormatting] => Laugh Factory @ Times Square
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&iwstate1=dir%3Afrom
            [streetAddress] => 303 West 42nd Street
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40757398&Point.longitude_e6=-73990132&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.757398%2C-73.990132&latlng=40757398%2C-73990132%2C17982312022101103723&near=40.757398%2C-73.990132
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 586-7829
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 303 West 42nd Street
                    [1] => New York, NY
                )
 
        )
 
    [3] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.740731
            [lng] => -74.004802
            [accuracy] => 8
            [title] => Comix Comedy Club in NYC
            [titleNoFormatting] => Comix Comedy Club in NYC
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&iwstate1=dir%3Afrom
            [streetAddress] => 353 West 14th Street
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40740731&Point.longitude_e6=-74004802&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.740731%2C-74.004802&latlng=40740731%2C-74004802%2C9671625654901015764&near=40.740731%2C-74.004802
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 524-2500
                        )
 
                    [1] => stdClass Object
                        (
                            [type] => Fax
                            [number] => (212) 524-2525
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 353 West 14th Street
                    [1] => New York, NY
                )
 
        )
 
    [4] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.74413
            [lng] => -73.996522
            [accuracy] => 8
            [title] => Gotham Comedy Club
            [titleNoFormatting] => Gotham Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&iwstate1=dir%3Afrom
            [streetAddress] => 208 W 23rd St # 1
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40744130&Point.longitude_e6=-73996522&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.74413%2C-73.996522&latlng=40744130%2C-73996522%2C10848099718300064245&near=40.74413%2C-73.996522
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 367-9000
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 208 W 23rd St # 1
                    [1] => New York, NY
                )
 
        )
 
    [5] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.774815
            [lng] => -73.95359
            [accuracy] => 8
            [title] => Comic Strip Live NYC Comedy Club
            [titleNoFormatting] => Comic Strip Live NYC Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&iwstate1=dir%3Afrom
            [streetAddress] => 1568 2nd Ave
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40774815&Point.longitude_e6=-73953590&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.774815%2C-73.95359&latlng=40774815%2C-73953590%2C13387788213747276045&near=40.774815%2C-73.95359
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 861-9386
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 1568 2nd Ave
                    [1] => New York, NY
                )
 
        )
 
    [6] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.758575
            [lng] => -73.985014
            [accuracy] => 8
            [title] => Ha Comedy Club
            [titleNoFormatting] => Ha Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&iwstate1=dir%3Afrom
            [streetAddress] => 163 W 46th St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40758575&Point.longitude_e6=-73985014&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.758575%2C-73.985014&latlng=40758575%2C-73985014%2C18388299876475516671&near=40.758575%2C-73.985014
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 977-3884
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 163 W 46th St
                    [1] => New York, NY
                )
 
        )
 
    [7] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.738959
            [lng] => -73.980769
            [accuracy] => 8
            [title] => New York Comedy Club
            [titleNoFormatting] => New York Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&iwstate1=dir%3Afrom
            [streetAddress] => 241 E 24th St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40738959&Point.longitude_e6=-73980769&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.738959%2C-73.980769&latlng=40738959%2C-73980769%2C1747813457154032631&near=40.738959%2C-73.980769
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 696-5233
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 241 E 24th St
                    [1] => New York, NY
                )
 
        )
 
)
 
 
--
stdClass Object
(
    [pages] => Array
        (
            [0] => stdClass Object
                (
                    [start] => 0
                    [label] => 1
                )
 
            [1] => stdClass Object
                (
                    [start] => 8
                    [label] => 2
                )
 
            [2] => stdClass Object
                (
                    [start] => 16
                    [label] => 3
                )
 
            [3] => stdClass Object
                (
                    [start] => 24
                    [label] => 4
                )
 
        )
 
    [estimatedResultCount] => 8721
    [currentPageIndex] => 0
    [moreResultsUrl] => http://www.google.com/local?oe=utf8&ie=utf8&num=8&mrt=yp%2Cloc&sll=40.754084%2C-73.977385&start=0&hl=en&q=comedy+clubs+new+york+city
)
 
 
--
stdClass Object
(
    [center] => stdClass Object
        (
            [lat] => 40.756887
            [lng] => -73.979196
        )
 
    [span] => stdClass Object
        (
            [lat] => 0.043027
            [lng] => 0.061454
        )
 
    [sw] => stdClass Object
        (
            [lat] => 40.73537
            [lng] => -74.00992
        )
 
    [ne] => stdClass Object
        (
            [lat] => 40.7784
            [lng] => -73.94847
        )
 
)
 
 
--
viewport
 
Array
(
    [0] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.761202
            [lng] => -73.984177
            [accuracy] => 8
            [title] => Caroline's Comedy Club
            [titleNoFormatting] => Caroline's Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=1626+Broadway%2C+New+York%2C+NY+%28Caroline%27s+Comedy+Club%29+%4040.761202%2C-73.984177&iwstate1=dir%3Afrom
            [streetAddress] => 1626 Broadway
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40761202&Point.longitude_e6=-73984177&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.761202%2C-73.984177&latlng=40761202%2C-73984177%2C10515198135650206436&near=40.761202%2C-73.984177
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 757-4100
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 1626 Broadway
                    [1] => New York, NY
                )
 
        )
 
    [1] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.764547
            [lng] => -73.985678
            [accuracy] => 8
            [title] => Broadway Comedy Club
            [titleNoFormatting] => Broadway Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=318+W+53rd+St%2C+New+York%2C+NY+%28Broadway+Comedy+Club%29+%4040.764547%2C-73.985678&iwstate1=dir%3Afrom
            [streetAddress] => 318 W 53rd St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40764547&Point.longitude_e6=-73985678&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.764547%2C-73.985678&latlng=40764547%2C-73985678%2C1613282179634804989&near=40.764547%2C-73.985678
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 757-2323
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 318 W 53rd St
                    [1] => New York, NY
                )
 
        )
 
    [2] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.757398
            [lng] => -73.990132
            [accuracy] => 8
            [title] => Laugh Factory @ Times Square
            [titleNoFormatting] => Laugh Factory @ Times Square
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=303+West+42nd+Street%2C+New+York%2C+NY+%28Laugh+Factory+%40+Times+Square%29+%4040.757398%2C-73.990132&iwstate1=dir%3Afrom
            [streetAddress] => 303 West 42nd Street
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40757398&Point.longitude_e6=-73990132&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.757398%2C-73.990132&latlng=40757398%2C-73990132%2C17982312022101103723&near=40.757398%2C-73.990132
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 586-7829
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 303 West 42nd Street
                    [1] => New York, NY
                )
 
        )
 
    [3] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.740731
            [lng] => -74.004802
            [accuracy] => 8
            [title] => Comix Comedy Club in NYC
            [titleNoFormatting] => Comix Comedy Club in NYC
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=353+West+14th+Street%2C+New+York%2C+NY+%28Comix+Comedy+Club+in+NYC%29+%4040.740731%2C-74.004802&iwstate1=dir%3Afrom
            [streetAddress] => 353 West 14th Street
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40740731&Point.longitude_e6=-74004802&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.740731%2C-74.004802&latlng=40740731%2C-74004802%2C9671625654901015764&near=40.740731%2C-74.004802
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 524-2500
                        )
 
                    [1] => stdClass Object
                        (
                            [type] => Fax
                            [number] => (212) 524-2525
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 353 West 14th Street
                    [1] => New York, NY
                )
 
        )
 
    [4] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.74413
            [lng] => -73.996522
            [accuracy] => 8
            [title] => Gotham Comedy Club
            [titleNoFormatting] => Gotham Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=208+W+23rd+St+%23+1%2C+New+York%2C+NY+%28Gotham+Comedy+Club%29+%4040.74413%2C-73.996522&iwstate1=dir%3Afrom
            [streetAddress] => 208 W 23rd St # 1
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40744130&Point.longitude_e6=-73996522&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.74413%2C-73.996522&latlng=40744130%2C-73996522%2C10848099718300064245&near=40.74413%2C-73.996522
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 367-9000
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 208 W 23rd St # 1
                    [1] => New York, NY
                )
 
        )
 
    [5] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.774815
            [lng] => -73.95359
            [accuracy] => 8
            [title] => Comic Strip Live NYC Comedy Club
            [titleNoFormatting] => Comic Strip Live NYC Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=1568+2nd+Ave%2C+New+York%2C+NY+%28Comic+Strip+Live+NYC+Comedy+Club%29+%4040.774815%2C-73.95359&iwstate1=dir%3Afrom
            [streetAddress] => 1568 2nd Ave
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40774815&Point.longitude_e6=-73953590&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.774815%2C-73.95359&latlng=40774815%2C-73953590%2C13387788213747276045&near=40.774815%2C-73.95359
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 861-9386
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 1568 2nd Ave
                    [1] => New York, NY
                )
 
        )
 
    [6] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.758575
            [lng] => -73.985014
            [accuracy] => 8
            [title] => Ha Comedy Club
            [titleNoFormatting] => Ha Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=163+W+46th+St%2C+New+York%2C+NY+%28Ha+Comedy+Club%29+%4040.758575%2C-73.985014&iwstate1=dir%3Afrom
            [streetAddress] => 163 W 46th St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40758575&Point.longitude_e6=-73985014&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.758575%2C-73.985014&latlng=40758575%2C-73985014%2C18388299876475516671&near=40.758575%2C-73.985014
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 977-3884
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 163 W 46th St
                    [1] => New York, NY
                )
 
        )
 
    [7] => stdClass Object
        (
            [GsearchResultClass] => GlocalSearch
            [viewportmode] => explicit
            [listingType] => local
            [lat] => 40.738959
            [lng] => -73.980769
            [accuracy] => 8
            [title] => New York Comedy Club
            [titleNoFormatting] => New York Comedy Club
            [ddUrl] => http://www.google.com/maps?source=uds&daddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&saddr=40.754084%2C-73.977385
            [ddUrlToHere] => http://www.google.com/maps?source=uds&daddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&iwstate1=dir%3Ato
            [ddUrlFromHere] => http://www.google.com/maps?source=uds&saddr=241+E+24th+St%2C+New+York%2C+NY+%28New+York+Comedy+Club%29+%4040.738959%2C-73.980769&iwstate1=dir%3Afrom
            [streetAddress] => 241 E 24th St
            [city] => New York
            [region] => NY
            [country] => United States
            [staticMapUrl] => http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=40738959&Point.longitude_e6=-73980769&Point.iconid=15&Point=e&w=150&h=100&zl=4
            [url] => http://www.google.com/local?source=uds&q=comedy+clubs&sll=40.738959%2C-73.980769&latlng=40738959%2C-73980769%2C1747813457154032631&near=40.738959%2C-73.980769
            [content] => 
            [maxAge] => 604800
            [phoneNumbers] => Array
                (
                    [0] => stdClass Object
                        (
                            [type] => 
                            [number] => (212) 696-5233
                        )
 
                )
 
            [addressLines] => Array
                (
                    [0] => 241 E 24th St
                    [1] => New York, NY
                )
 
        )
 
)
 
 
--
stdClass Object
(
    [pages] => Array
        (
            [0] => stdClass Object
                (
                    [start] => 0
                    [label] => 1
                )
 
            [1] => stdClass Object
                (
                    [start] => 8
                    [label] => 2
                )
 
            [2] => stdClass Object
                (
                    [start] => 16
                    [label] => 3
                )
 
            [3] => stdClass Object
                (
                    [start] => 24
                    [label] => 4
                )
 
        )
 
    [estimatedResultCount] => 8721
    [currentPageIndex] => 0
    [moreResultsUrl] => http://www.google.com/local?oe=utf8&ie=utf8&num=8&mrt=yp%2Cloc&sll=40.754084%2C-73.977385&start=0&hl=en&q=comedy+clubs+new+york+city
)
 
 
--
stdClass Object
(
    [center] => stdClass Object
        (
            [lat] => 40.756887
            [lng] => -73.979196
        )
 
    [span] => stdClass Object
        (
            [lat] => 0.043027
            [lng] => 0.061454
        )
 
    [sw] => stdClass Object
        (
            [lat] => 40.73537
            [lng] => -74.00992
        )
 
    [ne] => stdClass Object
        (
            [lat] => 40.7784
            [lng] => -73.94847
        )
 
)
 
 
--

Open in new window

webrhpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ChristianSchabCommented:
Try this:
echo "<tr>";
foreach($obj as $key=>$value)
{
    if ($key == 'results')
    {
        foreach ($value as $address)
        {
              $title = $address->title;
              $street = $address->street;
 
		// Process $title & $street ...
        }
    }
 
}
echo "</tr>";

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
webrhpAuthor Commented:
GREATLY Appreciated!!!

Thanks for the help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.