PHP error message: call to undefined function
<p>(Disclaimer) MY php experience is approx 2 hours old and I have know idea what I am doing.  </p>

<p>This is my error and I am wondering how do you know where the error is, for example.</p>

<p>as rendered in my browser, this is my error.</p>

<pre><code>Fatal error: Call to undefined function array_key_exist() in 
/home/mjcrawle/public_html/cit/home/processlogin.php on line 47
</code></pre>

<p>Line 47 is actually <code>if (array_key_exist('submit', $_post)){</code></p>

<p>I do not know if the error is before or after - this is my code.</p>

<pre><code>/*Determine if the form data was submitted*/
if (array_key_exist('submit', $_post)){
    /*this removes left over data*/
    $emailaddress = sanitize($_post['emailaddress']);
    $password = sanitize($_POST['password']);

    /*verify form data*/
    $auth_status = validateLogin($emailaddress, $password); 
}
</code></pre>
