PHP If URL Issue
<p>Ok I have an issue with an if php command.  </p>

<pre><code>{php}
$searchloadpage = "/search/Car/";
$listingloadpage = "/listing/%";
$currentpage = $_SERVER['REQUEST_URI'];
if($searchloadpage==$currentpage) { 
include('searchload.php');
}
if($listingloadpage==$currentpage) { 
include('searchload.php');
} else {

}
{/php}
</code></pre>

<p>Now the questions is how do you make it so with the $listingloadpage = "/listing/HERE"  the HERE part I need to make it so that anything that is after listing it will take.</p>

<p>Example: /listing/1222.html or any thing that is after /listing/ it will load my searchload.php file.  I think its called an wildcard code where the php will think /listing/and any thing after this listing directory.</p>

<p>Hope that was clear. :(</p>
