percjester
02-21-2003, 04:48 PM
Good day all,
I'm having a bit of a challenge manipulating some dynamic content; I hope someone can assist.
I have a PHP page that is delivering content from a db field, but I need it to only display the first 4 characters of the information.
Here's an example:
The field in the database might store something like this:
way1-2020
I need the PHP page to display the first 4 characters of this information:
way1
Can anyone assist?
I'm having a bit of a challenge manipulating some dynamic content; I hope someone can assist.
I have a PHP page that is delivering content from a db field, but I need it to only display the first 4 characters of the information.
Here's an example:
The field in the database might store something like this:
way1-2020
I need the PHP page to display the first 4 characters of this information:
way1
Can anyone assist?