X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Using PHP functions (https://forum.x-cart.com/showthread.php?t=16839)

STORed 09-24-2005 12:18 PM

Using PHP functions
 
How do I apply PHP functions?

I've uttempted something like this but it didn't work:
Code:

{php}ucfirst({$extra_fields[7].field_value});{/php}

STORed 09-24-2005 12:24 PM

Got it. Use this instead:

Code:

{$extra_fields[7].field_value|ucfirst}


All times are GMT -8. The time now is 06:43 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.