Warning: date() expects parameter 2 to be long, string given in /home/speedycm/public_html/speedyautos/cars_class.php on line 228
<p>i keep getting this error on the car_detail.php page on my database</p>

<p><strong>Warning: date() expects parameter 2 to be long, string given in /home/speedycm/public_html/speedyautos/cars_class.php on line 228</strong> </p>

<p>cars_class.php reads this on line 228</p>

<pre><code>$this-&gt;expiry_date = date("m/d/Y", $rows['expiry_date']);
</code></pre>

<p>how can i resolve this? thanks in advance :-)</p>
