Retrieve Characters from URL

Rodrigo Costa
Rodrigo Costa used Ask the Experts™
on
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!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial