RE: [PHP] Re: Yet another question

2002-10-30 Thread Peter Houchin
try it and see .. though I am pretty sure that it won't work unless you define the variable else where in the file b4 calling it. other wise the variable will either be blank or give you an error saying undefined variable if it's used before the include. -Original Message- From: Trasca

Re: [PHP] Re: Yet another question

2002-10-30 Thread user
Besides that there is no reason to include the file after the use of the variable. When i started writing php i saw in every other program that the include was the first line in every function that needs it. Like : function test() { include(file); . Peter Houchin wrote: try it and