Diniel Posted December 17, 2004 Posted December 17, 2004 "Simple if you know how"... I'd like to be able to grab the category for a page such as www.domain.com/catalog/index.php?cPath=43_50_134 How can I capture just the 134? If I use $_GET['cPath'] then I get 43_50_134. I guess I need to have a line of PHP to ignore everything up to and including the last _, but I don't know how to go about that. I'd very much appreciate a couple of minutes of your time if you know how to get that going :)
Diniel Posted December 17, 2004 Author Posted December 17, 2004 Ah excellent, thank you... more simple than I thought!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.