Re: checking $more still does not work !

From: Date: Sat, 24 Feb 2001 14:19:05 +0000
Subject: Re: checking $more still does not work !
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41482@lists.php.net to get a copy of this message
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: php-general@lists.php.net 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: 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

« previous php.general (#41482) next »