PHP Date difference formatting. Plural and singular
<p>Would want to make php more interactive</p>

<p>Looking for a way to list result when there is only one day left
Result: 1 day remaining</p>

<p>Else:
Result: n days remaining</p>

<p>Partial Code</p>

<pre><code>$daysleft = $date2-&gt;diff($date1);
echo $daysleft-&gt;format('%a days'),' remaining';
</code></pre>