Ask a Question related to PHP Development, Design and Development.
-
Angelo Zanetti #1
using submit button and PHP-HELP
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 [url]http://whatever.php?[/url] 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:
[url]http://localhost/ebLatest/indpaper.php?reqPaper=Request[/url]
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
Angelo Zanetti Guest
-
Submit button style
Hi, I am trying to change the style of a submit button ('<input type="submit" value="Update">') using stylesheets but everytime I use something... -
Submit button
I have a web form with a few text fields some validataion and a submit button. When I click the submit bittin the serverside event does not... -
[PHP] using submit button and PHP-HELP
thanx for your help, Ive got flu and all these small things seem to be escaping my eyes. I just want to ask you a small question: If i want this... -
value submit button
You can get the button value use code below: <?php echo $_POST;?> <form method="post"> <input type="submit" name="submit" value="submit1">... -
Help with Submit button...
Hi, I have a graphic, I wanted to use it for a submit button. For some reason it does not work.. it acts more of a link. The problem with...



Reply With Quote

