Does anyone have an example of a case insensitive SQL Select Statement? I'm looking for something like...
$searchstr = "%" . $name . "%";
SELECT * FROM vendor
WHERE vendor_name LIKE $searchstr;
Where $name is provide via user input. I just want to return all of the instances, regardless what the the user inputs as far as case goes. I could just store it in my DB as all upper or all lower case, but I'd rather not do that.
Thanks,
Steven Behnke