Re: [PHP] Include statement problems

2001-01-21 Thread Stephan Ahonen
> Any ideas? Work arounds? I am using PHP3. Try: $page = str_replace("?", "&", $page); That'll change: include.html?page=main.html?date=12 into: include.html?page=main.html&date=12 So the variables get passed properly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

[PHP] Include statement problems

2001-01-21 Thread Si Wizard
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 --- --- 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