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)
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
<form target = "<?php echo $PHP_SELF ?>;" METHOD = get>
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]