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 i

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 th

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