Pull specific data from url string via php??
Below you'll find an example of what I'm wanting to accomplish. The info I'd like to pull from the URL is in red font. It will be used as the unique product ID in the database.
An example URL:
h**p://somesite.com/productcategory/111111-a-specific-name-for-the-product
Of course, if those of you with more experience than I are of the opinion that I'm trying to re-invent the wheel here, then I'll surrender to your wisdom and just generate another product ID when populating the database.
Thanks for the help,
Gene
-
maxleadford -
[ 1 ] Thanks
{{ DiscussionBoard.errors[996411].message }} -
-
gyar29 -
Thanks
{{ DiscussionBoard.errors[997680].message }} -
-
maxleadford -
Thanks
{{ DiscussionBoard.errors[1004520].message }} -