Answers for "php pdo like"

PHP
0

php pdo like

$query = $database->prepare('SELECT * FROM table WHERE column LIKE ?');
$query->execute(array('value%'));

while ($results = $query->fetch())
{
    echo $results['column'];
}
Posted by: Guest on October-16-2021

Browse Popular Code Answers by Language