yes i saw this but in cakephp 3.X how do i install this ? as a helper?
i need to access this in a controller which i am unsure how to do this? i have a js function already but i need php code not js code
this is for cakephp 2.X only and not in a controller
$address=$student[‘address_street’].’ ‘.$student[‘address_suburb’].’ ‘.$student[‘address_postcode’].’ ‘.$student[‘address_state’];
//the below doesnt get data and it needs to
$latlong=‘https://maps.googleapis.com/maps/api/geocode/json?address=’. $address .’?key=myapikey’;