Hi,

I have a form that has a submit button in it, when the button is pressed I
want it to reload the same page, with the same URL, however when I click on
the submit button, the URL that it produces is http://whatever.php? then the
name of my submit button = value for example:

<form action="<?php echo($PHP_SELF); ?>" type=post>


<input  type="checkbox" value=" . $ID . " name="">
Request this abstract!
<input  type="submit" value="Request"  name="reqPaper">
</form>

this gives a URL of:

http://localhost/ebLatest/indpaper.php?reqPaper=Request

instead of the previous URL that was .php?ID=110

What I want to know is why the name and value of the submit button are being
displayed in the URL?
also why doesnt the ?php echo($PHP_SELF); work???

thanx in advance.
Angelo

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

Reply via email to