datetime comparison
<p>The following code must be wrong (the relevant date time rows in the mysql table are 0000-00-00 00:00:00) as the if statement is not being read as true.  Just wondered if i am making a blatant error?</p>

<p>Never done a datetime like this before:</p>

<pre><code>if($datetimecheck != "0000-00-00 00:00:00"); {

//do something

}
</code></pre>

<p>The "do something" is not happening.  I've succesfully compared other (non-zero) date time formats.  What's the best way forward?  Many thanks in advance.</p>
