Article / mysql / PHP / SQLCompare in SQL query using php April 19, 2017 Chandan SharmaComment on Compare in SQL query using php$sql = "select * from user where strcmp(\"" . $_POST['email'] . "\",email)=0"; $r=mysql_query($sql);Share this:FacebookX