Compare in SQL query using php Posted on April 19, 2017 by Chandan Sharma in Article, mysql, PHP, SQL$sql = "select * from user where strcmp(\"" . $_POST['email'] . "\",email)=0"; $r=mysql_query($sql);Share this:TwitterFacebook Published by Chandan Sharma View all posts by Chandan Sharma