Hello Bob,

Thursday, March 4, 2004, 6:53:24 PM, you wrote:

BL> I want to pass a parameter to an include file.
BL> I know I can do what I want with a function but I'd rather do it with an
BL> include.

You cannot "pass" anything to an include file, let alone a parameter.
Your included file will already be able to see anything defined in the
global scope (i.e. before it was included) without you doing a thing.

Read the manual re: the include function (and probably variable scope
while you're at it).

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to