Re: checking $more still does not work !
| From: | Simon Garner | Date: | Sat, 24 Feb 2001 22:43:59 +0000 |
| Subject: | Re: checking $more still does not work ! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41522@lists.php.net to get a copy of this message | ||
From: "Web Admin" <webadmin@morva.net>
> 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
I think you need a value for the submit button:
<input type="submit" name="more" value="Click for more">
Cheers
Simon Garner