[snip]
How can i load another php file ("another.php") directly without an action
(example: clicking on a button)?
[/snip]
If you're looking to check a condition and then add another php file
to your existing page then;
if(isset($var1)) {
include ('another.php');
or
include_once('another.php');
}
is what you're looking for.
If you're looking to redirect to another file based on a condition then;
if(isset($var)){
header('Location: another.php');
}
will work.
alex hogan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php