Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Quick Question RE: explode()


Recommended Posts

I am in the process of making some additional modifications to the User Tracking Alpha contribution.


If you've not checked it out yet, do at: http://www.oscommerce.com/forums/viewtopic.php?t=25160


This is a screenshot of the sort of data included on the results page:



Basically, I want to make the above layout a bit more user-friendly by inserting Category or Product names (where applicable) rather than just the path. This would only have to happen for index.php w/ appended cPath and product_info.php w/ appended product_id.


So, I have to take a string like one of these:




And get it into a format that can be used to query categories_description or products_description respectively.


I thought that perhaps the explode() function could be used, but I thought I'd pick the community's collective brain prior to attempting.


Any thoughts?





Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...