Re: [PHP] form handling problem

2001-09-19 Thread Meir Kriheli

On Monday 17 September 2001 06:01, Nikola Veber wrote:
> Hi !
>
> I have a form
> 
> Is there a way to open PHP_SELF in the same window, not in the new one ?

It should be



target is used as the name of the frame or window used for the submission.

see:
http://www.w3.org/TR/REC-html40/interact/forms.html#edef-FORM

BTW,
You've misplaced the semicolon, it should be inside the PHP statement.


> Thanks
> Nikola

-- 
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]




Re: [PHP] form handling problem

2001-09-17 Thread Alexander Deruwe

On Monday 17 September 2001 15:24, you wrote:
> Well,
>
> 
>
> 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

-- 
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]




RE: [PHP] form handling problem

2001-09-17 Thread Jon Haworth

Well, 



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)


Cheers
Jon


-Original Message-
From: Nikola Veber [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2001 04:02
To: php forum
Subject: [PHP] form handling problem


Hi !

I have a form

Is there a way to open PHP_SELF in the same window, not in the new one ?

Thanks
Nikola



-- 
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]


**
'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or confidentiality'

**

-- 
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]




[PHP] form handling problem

2001-09-17 Thread Nikola Veber

Hi !

I have a form

Is there a way to open PHP_SELF in the same window, not in the new one ?

Thanks
Nikola



-- 
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]