Hello all,
I know that there have been several posts on this same topic: How to use slash marks instead of query strings. For a newbie, this can be challenging, so I have done a lot of research and came up with the following:
Everything needs to remain intact except where it says $catid, $id, and $chapid, those need to be changed to the value of your variable that is the unique identifier. Also, the numbers ([1], [2], [3]...) need to be changed depending on what order it is.PHP Code:// fetch the possible article ids and chapter ids
$url_array = explode("/",$PATH_INFO);
$catid=$url_array[1];
$id=$url_array[2];
$chapid[b]=$url_array;[/b]
If something doesn't make sense, email or PM me and I'll try to help you out.
Special thanks to Erik Johansen of Netmaking for all of his help.






Bookmarks