![]() |
Smarty Question About "Path" (not a biggy i guess)
Hi,
Got a small smarty script made, and the developper is with holidays right now. Maby anyone from here is willing to give me the solution. Code:
$row2['url'] = $_site_www2.'/folder/'.$row2['2_folder'].'-name.ext'; Code:
$_site_www2 = 'http://www.domain2.com'; But i need to have the 1XXX1_ deleted from that part of the url, which it output. How I'd go around that ? Any help is apreciated, ~ Renaldo, |
Code:
$row2['url'] = $_site_www2.'/folder/'.str_replace('1XXX1_', '', $row2['2_folder']).'-name.ext'; Code:
$row2['url'] = $_site_www2.'/folder/'.substr($row2['2_folder'], 6).'-name.ext'; |
1080p Content,
Thank you greatly for giving me the solution. This works like a charm.:thumbsup You've helped me great, ~ Renaldo, |
All times are GMT -7. The time now is 12:56 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123