PHP Return results via MySQL Based on timeStamp and the Current time
<p>I'm writing a little bit of PHP, but Im a serious nOOb.</p>

<p>I want to compare the current time (The time now) with a timestamp in a table, stored like 1085225495.</p>

<p>If the timestamp is under 1 hour old, then do:</p>

<pre><code>UPDATE TABLE SET visible=0;
</code></pre>

<p>Otherwise ignore. </p>

<p>Any ideas in php?</p>
