Re: [PHP] Printingt Variables in Included Text

2001-06-21 Thread Chris Fry
Maybe a $ in front of the variables? $pullquote1='Test for pull quote'; $pullquote2='pullquote2 text'; $keywords='shdjkashd kasdj d kjdjdjasd'; Chris Jeremy Bowen wrote: > Hey, > > I have a website where I use header and footer files in a "includes" director > to establish the header and foote

Re: [PHP] Printingt Variables in Included Text

2001-06-20 Thread Chris Lee
hehe. ok i'll explain, half way through you will see what you were doing wrong :) // valid $test = 'chris lee'; echo $test; // in-valid echo $test; $test = 'chris lee'; // valid $pullquote1 = 'test for pull quote'; include('header.inc'); // in-valid include('header.inc');

[PHP] Printingt Variables in Included Text

2001-06-20 Thread Jeremy Bowen
Hey, I have a website where I use header and footer files in a "includes" director to establish the header and footer of each page. They are pretty simple, mostly straight up html. The website is kind of an online magazine and what I want to do is print pull quotes out of each story. So in my