Re: How to load another php page?

From: Date: Sat, 02 Oct 2004 16:44:45 +0000
Subject: Re: How to load another php page?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-198495@lists.php.net to get a copy of this message
I don't think include replaces the calling php script. What i mean is that i want exactly the same as what is done by an "submit" action but then you have to press a button, whereafter a new phpfile is loaded and the button-press is what i want to ignore. Arnold <afan@afan.net> wrote in message news:64317.67.41.240.226.1096733647.squirrel@67.41.240.226... > 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 > > > >

« previous php.general (#198495) next »