Forum Moderators: open
We have used this statment to preform LIKE searchs in our data. When we search for "caroline" in customers.firstname the caroline record is retrived but when we search for "caroli" nothing is returned. Is there a better way to do LIKE searches or is there another method we should be using.
$sqlstatement = "select * FROM customers WHERE(customers.firstname LIKE '".$searchterm=$_POST['search']."')";