parse-community / parse-php-sdk

The PHP SDK for Parse Platform
https://parseplatform.org/
Other
811 stars 346 forks source link

parse query for php #456

Open temi3500 opened 4 years ago

temi3500 commented 4 years ago

Issue Description

i have a android app which host on back4app and now i want to show the data of app on my website all data coming from this app but images have a problem with foreach loop using php

Steps to reproduce

RestaurantAddress "ffff"
ValueStars 5
RepeatabilityStars 2
TemperatureStars 2
QualityStars 5
CreatedBy {}
PortionSizeStars 4
PresentationStars 0
RestaurantName "Taco Bell"
AromaStars 2
DishName "Beans and sprouts"
DishImage  
__type "File"
url "http://files.parsetfss.c…0164711-Profileimage.png"
name "tfss-532168ef-2f28-4ffc-…164711-Profileimage.png"
TextureStars 5
OriginalityStars 3
SeasoningStars 5
keywords "Burrito steak"
objectId "NpEFhx8K3O"
createdAt "2016-04-17T23:58:57.178Z"
updatedAt "2016-05-26T20:12:44.030Z"

Environment Details

php laravel and my code is $query=new PlateRating(); $file=new PlateRating(); $result=$query->all(); return $result;

Logs/Traces

~~ Include any relevant logs/traces here ~~

davimacedo commented 4 years ago

Can you please share how you are initializing your Parse Server? It looks like something related to the fileKey option.