Hi
I am trying to get show the results of a post request (latitude / longitude) from an api call to show on an html page. The data is posted in jQuery and passed on to a php server which makes a call to the api to retrieve the data and pass back to the html page.
I am successfully retrieving the data, but hit an error on the php file (line 34 - undefined array key). I am struggling to overcome this error and would appreciate on fixing the issue. I have uploaded all the files to this github repository - GitHub - Temceo/php_test
Any guidance will be appreciated.
Thanks