When I search for an article based on a key (called $url_key because it will be passed as an URL parameter) like this:
Code: Select all
$query = "select * from articles where url_key = ".$url_key;I've found a way to fix this using 'like' instead of '=':
Code: Select all
$query = "select * from articles where url_key like '%".$url_key."%'";Thanks, Toro