Re: [PHP] Using a variable for include statement

2007-09-11 Thread Tom Ray [Lists]
Jeff Benetti wrote: Sorry if this is a noob question, I have used PERL, TCL and VB but I am just getting into PHP. If there is a better place to ask noobie questions then let me know. I want to use the include statement but I want to pass the name of the file rather than hard code it. It seems

Re: [PHP] Using a variable for include statement

2007-09-11 Thread mike
you can definately use variables for filenames. i do it all the time. it's not like XSLT or other languages where it has to be included at the start or you're screwed. On 9/11/07, Jeff Benetti <[EMAIL PROTECTED]> wrote: > Sorry if this is a noob question, I have used PERL, TCL and VB but I am just

Re: [PHP] Using a variable for include statement

2007-09-11 Thread Robert Cummings
On Tue, 2007-09-11 at 14:00 -0300, Jeff Benetti wrote: > Sorry if this is a noob question, I have used PERL, TCL and VB but I am just > getting into PHP. If there is a better place to ask noobie questions then > let me know. > > I want to use the include statement but I want to pass the name of t

[PHP] Using a variable for include statement

2007-09-11 Thread Jeff Benetti
Sorry if this is a noob question, I have used PERL, TCL and VB but I am just getting into PHP. If there is a better place to ask noobie questions then let me know. I want to use the include statement but I want to pass the name of the file rather than hard code it. It seems that PHP needs the fi