I have a comma separated string, and I need the PHP to find the value between the 12th and 13th occurrence of the comma in the string so I can make it into a variable. How would I accomplish this? The value is not necessarily the same amount of characters at any given time.
Thank you.
Use the explode() method:
Change 12 to whatever low index you want to find (remember, arrays start from 0)