I'm trying to setup friendly url's using this guide -> http://www.sitepoint.com/article/search-engine-friendly-urls/
The problem i'm having is that i'm using the code below where the explode $PATH_INFO code should create an array with the text to search with, but $PATH_INFO doesn't seem to display anything in the echo test and it doesn't send anything in the query, returning a blank set of results.
The link i'm using to access is http://cawsearch.com/svr2009/url_view_caw.php/1069
which should pass the 1069 as $var_array which i was wanting to use as my search.
Can anyone see what i'm doing wrong that could have caused this?
$var_array = explode("/",$PATH_INFO);
$result = mysql_query("SELECT * FROM database WHERE id = '$test' ");