I'm trying to create a catalog where you can search in based on arguments you give. naam is the name of the product and woord are the given characters. later on in the script i glue this part of the query to the first part.
Thank you
if(strlen($whereQuery) > 0)
$whereQuery .= 'AND naam LIKE '%'.$woord.'%'';
else
$whereQuery = 'WHERE naam LIKE '%'.$woord.'%'';