RE: [PHP] Simple question
| From: | Maxim Maletsky | Date: | Thu, 28 Sep 2000 07:00:16 +0000 |
| Subject: | RE: [PHP] Simple question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17869@lists.php.net to get a copy of this message | ||
if you have a form that submits to itself then you do this:
if($submit)
{
process the data
} else {
print the form.
}
or like including a file with include() whenever the conditions are right.
I hope I understood what you asked and it was of some help to you.
-----Original Message-----
From: Richard Vibert [mailto:richard@viberts.com.au]
Sent: Thursday, September 28, 2000 1:34 PM
To: php-general@lists.php.net
Subject: [PHP] Simple question
I know this has to have a simple answer, but I cant find it ( I'm very new
to php)
How can I load a page from within php with out having to use a form and
submit button.
eg
<?
if (exp)
load "this page?etc"
?>
Any help would be much appreciated.
=======================================
Richard Vibert
richard@viberts.com.au
Tatura Mitre10
=======================================
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net