-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quickstart.php for accessing data from spreadsheet of google #15
Comments
I get the same error whenever I try to change the spreadsheetId in order to view my spreadsheet but not the the one that's already in quickstart.php. |
Did you manage to display data from your own spreadsheet? |
Hi @sushantwebmingo, what sample are you running? Are you sure that the Sheets quickstart was run without modifications? I've formatted the issue. The error states the problem is with the range: |
@Fatimamohammad08 It looks like you're using |
@grant hey thanks for the help ! I had a question . |
@Fatimamohammad08 It is not possible to get just one row or cell. You can sort the sheet and get a range which is the top value, but you can't retrieve a cell by ID. https://stackoverflow.com/questions/38114591/is-it-possible-to-access-row-id-of-a-google-spreadsheet That question doesn't relate to this issue though and may be better for StackOverflow. |
@grant Hello ! I wanted to know how can you fetch the data using a query? for example how would i get a row https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit from this if the student name is Alexandra? |
I can get particular data of given name by spreadsheet api but not by ther query. We can not apply query here.
From: Fatimamohammad08 [mailto:[email protected]]
Sent: Sunday, September 23, 2018 6:34 PM
To: gsuitedevs/php-samples
Cc: sushantwebmingo; Mention
Subject: Re: [gsuitedevs/php-samples] quickstart.php for accessing data from spreadsheet of google (#15)
@grant <https://github.com/grant> Hello ! I wanted to know how can you fetch the data using a query? for example how would i get a row https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit from this if the student name is Alexander?
—
You are receiving this because you were mentioned.
Reply to this email directly, view <#15 (comment)> it on GitHub, or mute <https://github.com/notifications/unsubscribe-auth/AoAAPdP0GqDEZCkpa8-1M0dHafYXnscHks5ud4bDgaJpZM4VnuuJ> the thread.Image removed by sender.
|
@grant @sushantwebmingo so if I have a column as ID as my unique Id . Can;t I query like in SQL ? |
You cannot use Sheets like a SQL database or query like a database. Maybe you could try this option: Please use the issue tracker for generic issues as GitHub is used for existing code samples. You can still discuss here if you wish, but I'll close this issue. |
(Please search existing issues before creating a new one.)
Expected Behavior
want to show all data of sheet
Actual Behavior
want to show all data of sheet
Steps to Reproduce the Problem
Specifications
php -v
): 5.4The text was updated successfully, but these errors were encountered: