Small issue with IF.. OR statement on PHP
<p>I'm trying to Validate email twice on a registration form, in order to do it i'm trying to first check that the actual email field isn't empty by running the "empty" function or both of the fields - but for some reason it wont accept it, it complains about unexpected '('</p>

<p>here's the line:</p>

<pre><code>if (empty(($_POST['e-mail']) OR ($_POST['e-mail2']))) {
    $error[] = 'Please Enter your Email ';
}
</code></pre>

<p>anyone has an idea why i'm getting it and how to fix it ?</p>
