The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
limit number of characters
I want to limit the numbers of characters, but i dont know how to do that. Can someone help me?
PHP Code:
Thanks in advance Niklas |
#2
|
||||
|
||||
try: fetch_trimmed_title($text, $limit)
|
#3
|
||||
|
||||
alternatively www.php.net/substr
|
#4
|
|||
|
|||
Thanks a lot for replying!
Im experiencing a problem though; If I use... PHP Code:
"$ads" Im assuming it simply prints parts of the variable, what do I ned to change so it actually prints the content of the variable? Thanks so much Niklas EDIT: nvm, it works now, thanks a lot for helping! |
#5
|
||||
|
||||
Don't put quotes aroud the variable and it should be $adsresult['message'].
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|