The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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. |
#2
|
|||
|
|||
You can either make the corresponding database column VARCHAR(10) or use:
PHP Code:
|
#3
|
||||
|
||||
OK, I figured it out now, Thank you filburt1
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|