Thanks :)
"Cc Zona" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (John Cuthbert) wrote:
>
> > I have a file which does several different things depending on how its
> > called Ie
> > file?mode=show is to show it etc
> >
> > But I want to include the output from the show so  I tried
> > <?php include("file.php?mode=show"); ?> but this causes errors. It goes
away
> > with including as only file.php but doing that also causes problems
because
> > mode isnt set yet.
>
> $mode='show';
> include("file.php");
>
> Include() brings in the content of a file just as if you'd copy/pasted it
> there.  It's not an HTTP GET request.
>
> --
> CC



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to