RE: [PHP] preventing an include() from taking over?

2001-09-20 Thread Jon Haworth
The name of that concept is a variable. index.php?pg=1 means call index.php and set the variable $pg to 1 Cheers Jon -Original Message- From: LRW [mailto:[EMAIL PROTECTED]] Sent: 19 September 2001 21:04 To: [EMAIL PROTECTED] Subject: Re: [PHP] preventing an include() from taking over

[PHP] preventing an include() from taking over?

2001-09-19 Thread LRW
I've got a complicated little thing going on here. I have page INDEX.HTM with a 2 column table. I want the entire page to remain the same, except column 1. In column 1 I have an include() which contains a javascript scrolling menu where on click of an option it calls up the selected page. As it

Re: [PHP] preventing an include() from taking over?

2001-09-19 Thread Rick Gardner
Liam, Assuming that you control the content that you are going to be feeding into your column 1, I would set your page up such that it accepted a variable passed in as part of the index.php url. I would then establish separate files on the server for anything that you would want as a choice of

Re: [PHP] preventing an include() from taking over?

2001-09-19 Thread LRW
Unfortunately I just started teaching myself PHP like last weekend, and so far I only have include() and require() down pat. =) What in the php.net Manual is the concept of default function called? I see URL's all the time that end in something like index.php?pg=1 and I was hoping to learn what