![]() |
removing some text from this string
right now it is showing
/home/server/apple/html/files/t_327.jpg how can I make it show just files/t_327.jpg i've tried truncate but thats from the end of the text thanks for your help! |
Please clarify...are you trying to remove that info from the URL or what??
|
If your doing this in a template, you have 2 options:
1) Using PHP in your templates. Replace "YOURSMARTYVARIABLE" with your variable. Code:
{php} 2) Use the PHP command str_replace by passing it as a modifier http://smarty.php.net/manual/en/api.register.modifier.php[/code] |
All times are GMT -8. The time now is 03:50 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.