On Monday 17 September 2001 06:01, Nikola Veber wrote:
> 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 ?

It should be

<form action = "<?php echo $PHP_SELF; ?>" METHOD = get>

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]

Reply via email to