Only members can submit this form php
<p>New to php.  I have a form that is only for members to submit.  What php code do I need for the form to check that the email address on the form is found my members database and then its okay to submit the form?</p>

<p>If email address is not in the members database then I want to echo "Only members can submit this form."  What php code do I need to connect to database in the form and do the check so I don't get forms submitted from non members?
Thanks</p>
