Thread: Smarty Vars
View Single Post
  #1  
Old 01-05-2008, 03:44 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default Smarty Vars

Hi all

Is there a way that i can pass the contents of a smarty variable to a php varible within {php} to perform php a php function?

Basically Im trying to find a way of checking if a selected smarty variable contains a certain string IE.. does {$product.product} contain the word "Cheap" for example.

Thanks all
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote