looping a google maps script with while-Collection of common programming errors
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’s on mysql database, you’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
so i’m asking, did i do wrong in my code? if yes, what should i fix in my code
thanks
full code shown below