![]() |
Strip excessed characters
Hi all,
I'm looking for a PHP function that can strip off excessed characters. Like I limited $mystring is only 10 characters and if someone enter the value for $mystring over 10 characters, then those excessed characters will be stripped. Any help would be much appreciated. :) |
You can either make the corresponding database column VARCHAR(10) or use:
PHP Code:
|
OK, I figured it out now, Thank you filburt1 ;)
|
All times are GMT. The time now is 11:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|