Michael Harding wrote:
I have a if statement.
if (this){ load page1.php; } else { load page2.php; }
I simply want to go to different page depending on the results of a logic statement. I can't find a function or statement that allow me to pass the page to. I am looking for a "load()" or goto() type call.
I do NOT want to do the "header" thing and reload the same page back onto itself.
I can't believe a language as powerful as PHP does have this basic function. I must be missing it.
Any suggestions?
Thanks.
require_once() seems suitable.
-- Tino Didriksen / Project JJ
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php