PHP - Name validation whether it exist in the database both in lower case and uppercase .I am getting only uppercase please help me out
<pre><code>if(mysql_query("SELECT members FROM name WHERE $_POST['name'] = '$name' and email WHERE $_POST['email'] = '$email'" )))
{
    echo "Sorry! Your details are already in our database";
} else {
// code to insert values into databases.....
</code></pre>
