MYSQL breaking PHP while loop after first iteration

I’m trying to insert the image urls from the last.fm api into my MySQL database. I’m able to access the correct url data from the api, iterate through and echo it out but when I try to add it urls to my MySQL database, the UPDATE statement seems to break the while loop after the… Read More MYSQL breaking PHP while loop after first iteration