// Connect to the server and select a database
$dbh = mysqli_connect($server,$username,$password,$database) or
die(“Problem connecting: “.mysqli_error());

// Prepare statement
$sql =
‘SELECT ingredientname,description,rating,href
FROM ingredient
WHERE 1=1
and ((ingredientname like \’j%\’)
or (ingredientname like \’k%\’)
or (ingredientname like \’l%\’))
order by ingredientname’;