Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php pdo like

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

while ($results = $query->fetch())
{
    echo $results['column'];
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #pdo
ADD COMMENT
Topic
Name
6+4 =