Does an "include" replace the file who called include?

Arnold

<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> if(isset($var1)) { include 'another.php'; }
>
>
>
> > Hi,
> >
> > How can i load another php file ("another.php") directly without an
action
> > (example: clicking on a button)?
> > I'd like to do in my php script:
> >
> > if(isset($var1)) {  // load another.php }
> >
> > It is possible to include the file, but i just want to load the whole
> > "another.php" file.
> > I guess that there should be a php command like "load", but i didnt
found
> > it
> > yet.
> >
> > Who can help me?
> >
> > Regards, Arnold
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to