View Single Post
  #6  
Old 01-11-2011, 10:23 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Using a Smarty tag in PHP code

Try...

Code:
<?php $p = $this->get_template_vars('product'); $rr->showStars($p['productid']); ?>
Or...
Code:
<?php $p = $this->get_template_vars('product'); echo rating_bar($p['productid'],'5'); ?>
Or, just use this
__________________
xcartmods.co.uk
Reply With Quote