Skip to content
Advertisement

Search a google spread sheet using JQuery

I want to search a specific column in my google spreadsheet which contains strings. I used PHP to read the data from the sheet and stored them into an array. Printing the array shows me the column values, however when using (json_encode), I am only getting the last value in the array which is pretty weird.

Here is my code:

JavaScript

Advertisement

Answer

You’re rewriting the array to the last value here:

JavaScript

Try

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement