View Single Post
  #4  
Old 11-22-2002, 01:39 PM
 
syddos syddos is offline
 

eXpert
  
Join Date: Sep 2002
Location: London, England, UK
Posts: 259
 

Default

Hi,

try
Quote:
{include_php file="/pathtofile/file.php" $your_variable="this_value"}

or
Quote:
{include_php file="/pathtofile/file.php" $your_other_variable=$this_smarty_assigned_variabl e}

I have not tried this with an "include_php file", as I try to keep php out of the templates.

Regards,
__________________
Syddos

Nothing is impossible, We just don't know how to do it ........Yet!

Xcart 4.1.X PRO (Testing Platform: winXP Pro)
Perl 5.8.7 (win32)
WINAMP 1.6.3 (win32 server package. Includes the following)
- phpMyAdmin v2.8.03
- MySql 5.0.21
- Apache 2.0.55 (win32)
- php 5.1.4
- SQLitemanager 1.2.0
Reply With Quote