View Single Post
  #1  
Old 08-18-2005, 02:16 AM
 
arthur_raft arthur_raft is offline
 

Advanced Member
  
Join Date: Jul 2005
Location: Sydney, Australia
Posts: 36
 

Default PHP Script in Static Pages

Hey Guys,

I'm still fairly green to x-cart and smarty. Anyway, I have some simple PHP code I need to include in a static page (a calculator actually).

I've tried simply adding it to the code to the page, but its not being picked up "as php". I've also tried changing the page name and the reference in xcart_pages in the database both to .php extensions - but the page isnt bieng picked up at all.

Any suggestions. I really need to run this code - and placing it in a static page seemed attractively simple.

Cheers
__________________
Version 4.0.14
Reply With Quote