View Single Post
  #1  
Old 03-25-2003, 05:50 AM
 
maniac maniac is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 97
 

Default Variable help...

OK,

I succesfully edited home.php so that I can include a php file which has a bunch of variables I need. I also defined a variable in home.php. Now, I want to echo those variables on the display pages.

I called the variable I defined in home.php on the home.tpl template and it showed up on my page, I used the following syntax {$variableName}.

But, when I try to call any of the variables I define in the included files, using the same syntax, I get nothing.

Is there another way to call the variables and echo them in the template files?

Thanks
Reply With Quote