SyntaxFix
Write A Post
Hire A Developer
Questions
I think the easiest way is:
if (strpos($_SERVER['REQUEST_URI'], "car") !== false){ // car found }