View Single Post
  #4  
Old 09-23-2007, 01:37 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Pass Varialbles from another page

you have the right idea in the original post, but the value needs to match up with the variable you use in the included page

say in the included page the variable you want to use is called $blah, but the variable in the current page you want to pass is $asdf...you would then type {include file="theincludepage.tpl" blah=$asdf}


...unless you want to pass variables between php pages, then you would use x_session_register
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote