如何使此sql语句不区分大小写以接受$_POST["CatType"]]
为wet-beans
或Wet-beans
或WET-BEANS
?
$stmt ="SELECT distinct Product_Name FROM Products WHERE Product_Name='".$_POST["CatType"]."'And Category_ID=(SELECT Category_ID from Categories WHERE Category_Name='".$_POST["CatName"]."')";