Hello i am new with app engine.

I am creating a gallery app.
I have some images in cloud storage and i want to retrieve them all with a 
query.

i have create a function like that but it doesnt work.

Any ideias???Thank you!

public static function find_all_photos($sql){
    global $database;

    $result_set = $database->query($sql);
   while($row = mysqli_fetch_array($result_set)){
       $photo = ($row['filename']);
       $images_file = "gs://my-project-test-150523.appspot.com/".$photo;
       CloudStorageTools::getImageServingUrl($images_file);

    }
}



-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8bbee04e-7908-477b-a4de-581f95b4a0e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Gas K.

Reply via email to