I tested the installation using the parse.com instructions and it worked (recorded was added to table). Now I am trying to retrieve the information in the table (2 records), and all I have is a blank page with no errors.
Here is the code:
<?php
require 'vendor/autoload.php';
use Parse\ParseClient;
use Parse\ParseObject;
ParseClient::initialize('djdksjdkks', 'jdksjdksjdksd', 'jdksjdjsdjskdsjdjsdks');
?>
and then later in the page the code I expect to show something:
<?php
$query = new ParseQuery("Donations");
//$query->equalTo("playerName", "Dan Stemkoski");
$results = $query->find();
//echo "Successfully retrieved " . count($results) . " scores.");
for ($i = 0; $i < count($results); $i++) {
$object = $results[$i];
echo $object->getObjectId() . ' - ' . $object->get('fullname'));
}
?>
Please help out...I read that if there is a syntax mistake, PHP tends to load a white screen.