0

How to make this sql statement case insensitive as to accept $_POST["CatType"]] to be wet-beans or Wet-beans or 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"]."')";
New at Leaflet
  • 315
  • 1
  • 4
  • 16

0 Answers0