[PHP] Passing variable on include

2004-08-29 Thread Xongoo!com: Central unit
Hi, I have to pass variable on include include(includes/include.php); include(includes/include.php?name=$name); wouldn't work. How do I do that? Cokies are not an option, btw. -- Tadas Talaikis [EMAIL PROTECTED] http://www.xongoo.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Passing variable on include

2004-08-29 Thread Marek Kilimajer
Xongoo!com: Central unit wrote: Hi, I have to pass variable on include include(includes/include.php); include(includes/include.php?name=$name); wouldn't work. How do I do that? Cokies are not an option, btw. Code in includes/include.php is executed in the scope of the including file, so all

Re: [PHP] Passing variable on include

2004-08-29 Thread Xongoo!com: Central unit
: Sunday, August 29, 2004 11:41 AM Subject: Re: [PHP] Passing variable on include Xongoo!com: Central unit wrote: Hi, I have to pass variable on include include(includes/include.php); include(includes/include.php?name=$name); wouldn't work. How do I do that? Cokies are not an option