Azure Table Storage PHP Error
<p>This is my PHP code</p>

<pre><code>&lt;?php
// Load Azure Drivers
require_once '../vendor/autoload.php';

use WindowsAzure\Common\ServicesBuilder;
use MicrosoftAzure\Storage\Common\ServiceException;
use MicrosoftAzure\Storage\Table\Models\QueryEntitiesOptions;


// Connection String
$connectionString = 'DefaultEndpointsProtocol=https;AccountName=&lt;account_name&gt;;AccountKey=&lt;account_key&gt;==';

// Create table REST proxy.
$tableRestProxy = ServicesBuilder::getInstance()-&gt;createTableService($connectionString);


$user_input = "Username eq '&lt;user&gt;'";

try {
    $result = $tableRestProxy-&gt;queryEntities("&lt;table&gt;", $user_input);
}
catch(ServiceException $e){
    echo "&lt;h1&gt;Error querying, please contact Admin.&lt;/h1&gt;";
    die();
}

$entities = $result-&gt;getEntities();
foreach($entities as $entity){
    echo $entity;
}
?&gt;
</code></pre>

<p>I have censored out all the connection and table information. But everything works when I use the demo code. But I want to retrieve the full row. When I execute this I get this error</p>

<pre><code>Catchable fatal error: Object of class MicrosoftAzure\Storage\Table\Models\Entity could not be converted to string
</code></pre>

<p>Any ideas?</p>