Include statement problems

From: Date: Sun, 21 Jan 2001 19:55:05 +0000
Subject: Include statement problems
Groups: php.general 
Request: Send a blank email to php-general+get-35916@lists.php.net to get a copy of this message
Hey, I just signed up on this list. I've got a quick question. I am using an #include statment, and here it is: include.html --- <? include("$page"); ?> --- so when I include it looks like this --- include.html?page=main.html --- That way the page shown in the include statement is main.html My problem comes when the page I am including is passing vars as well. ie --- include.html?page=main.html?date=12 --- I get an error msg saying that it could not include my file. Any ideas? Work arounds? I am using PHP3. Thanks, Eric Padgett __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/

« previous php.general (#35916) next »