Menu
Hi,
is there a way to search the database in multiple rows?
this is the most common way:
[code=php]
SELECT * FROM content WHERE titel LIKE ‘%”.$keyword.”%’;
But i don’t want to search row “titel” only i also want row “naam”
[code=php]
SELECT * FROM content WHERE titel LIKE ‘%”.$keyword.”%’;
[code=php]
SELECT * FROM content WHERE naamLIKE ‘%”.$keyword.”%’;
How can this be done??