Re: form handling problem
| From: | Alexander Deruwe | Date: | Mon, 17 Sep 2001 19:40:08 +0000 |
| Subject: | Re: form handling problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67628@lists.php.net to get a copy of this message | ||
On Monday 17 September 2001 15:24, you wrote:
> Well,
>
> <form action="<?php echo $PHP_SELF; ?>" method="get">
>
> always works fine for me.
>
> Note that you should use "action" instead of "target", and the semicolon
> after $PHP_SELF should be inside the ?> not outside of it... might be one
> of these two errors causing the problem (although I can't think why)
The target= attribute is usually used to open hyperlinks in a different frame
than the current one. It might be that if there is no frame with such a name,
it just opens a new window (with that name), thus causing his troubles.
ad