![]() |
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 |
try: fetch_trimmed_title($text, $limit)
|
alternatively www.php.net/substr
|
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! |
Don't put quotes aroud the variable and it should be $adsresult['message'].
|
All times are GMT. The time now is 10:54 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:
|