Thursday, April 12, 2012
How do I create a PDO parameterized query with a LIKE statement in PHP?
Here's my attempt at it:
$query = $database->prepare('SELECT * FROM table WHERE column LIKE "?%"');
while ($results = $query->fetch())