{"id":7058,"date":"2014-05-18T15:08:21","date_gmt":"2014-05-18T15:08:21","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/18\/looping-a-google-maps-script-with-while-collection-of-common-programming-errors\/"},"modified":"2014-05-18T15:08:21","modified_gmt":"2014-05-18T15:08:21","slug":"looping-a-google-maps-script-with-while-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/18\/looping-a-google-maps-script-with-while-collection-of-common-programming-errors\/","title":{"rendered":"looping a google maps script with while-Collection of common programming errors"},"content":{"rendered":"<p>i want to loop a certain google maps script. the script is used for calculating and storing distance in database while the condition is the driver id that having vacant status (it&#8217;s on mysql database, you&#8217;ll know from the code below) i have a difficulties first my script is not looping and it says it exceed 30 second limits now i edited it and it says unexpected end of file<\/p>\n<p>so i&#8217;m asking, did i do wrong in my code? if yes, what should i fix in my code<\/p>\n<p>thanks<\/p>\n<p>full code shown below<\/p>\n","protected":false},"excerpt":{"rendered":"<p>i want to loop a certain google maps script. the script is used for calculating and storing distance in database while the condition is the driver id that having vacant status (it&#8217;s on mysql database, you&#8217;ll know from the code below) i have a difficulties first my script is not looping and it says it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7058","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7058"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7058\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}