Retrieve Characters from URL

Hi folks, I need to retrieve from a text field 11 characters beggining for the 32nd character typed into the field, but I'm stomped on how to do it, I need it to be done when the form is submited since the value retrieved must be recorded into the database with the rest of the values in the form.

Any help would be much appreciated.

Cheers!
Rodrigo CostaLecturerAsked:
Who is Participating?
 
Scott MadeiraConnect With a Mentor Commented:
Try:

$substring = substr($inputdata, 32, 11);

You may need to adjust the number a bit (plus or minus 1 to get the exact section you want.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.