PHP mysqli query wrong result : <p>I am using the following script to get joindate of the account: </p>

<pre><code>$date = mysqli_query($conn,"SELECT joindate from account where id = 6");
</code></pre>

<p>The result of that query should be 2016-01-30 00:00:00 but when i use</p>

<pre><code>print_r($date);
</code></pre>

<p>i get only </p>

<pre><code>mysqli_result Object ( [current_field] =&gt; 0 [field_count] =&gt; 1 [lengths] =&gt; [num_rows] =&gt; 1 [type] =&gt; 0 )
</code></pre>
