> Hi,
> I want action of a form to be PHP_SELF untill user presses "continue"
> button. If continue button is pressed than "next.php" should be the action of
> the form. how to do this? Thanks in advance, Mukta

I'm not sure why it's necessary to do this, but, not sure it can be done.
Maybe with Javascript and an onClick= command inside the <input button> tag
or an onSubmit= inside the <form> tag.

Do you simply want to hide the name of the file that the form will go to
once a button is clicked? If so, you need an "in-between" script that the
form uses to determine where to send the user. So instead of sending them to
PHP_SELF or next.php, use something like goto.php, which can determine where
to send the user next, and then redirects the user using the header()
function.

Monty


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to