Hi Kaab,
There must be another problem, it should work. Maybe it helps if
you send your code here. To see how a simple script works, try
this tiny script named test.php:
<form action=test.php>
<input type=submit name=more>
</form>
<?php
if ($more) {print "<p>Submit is pressed</p>"; };
?>
If you first load the php page, you don't see anything rather than a
submit button. If you press submit, you will see a message.
Ahmad Anvari
----- Original Message -----
From: kaab kaoutar
To: [EMAIL PROTECTED]
Sent: Saturday, February 24, 2001 5:35 PM
Subject: [PHP] checking $more still does not work !
Hi!
i have a submit button called "more" in a page that calles itself
i try to check whether the page was just loaded or called by clicking on
that button using :
if ($more) {....echo "hi";}
it never echo hi
any idea ?
Thanks
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]