I’m looking for something like this:
Let’s say we have a string..
$chk="pie";
And we want to find something in the database with the string $chk in it..
Say the database looks like this:
username realname
123pieo Bob
ilikepie Carl
wat Tom
Can I select the ones that contain $chk in them some how?
This will select any rows that contain “pie” in the username.