Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Why ???
- Bob Bedford
November 11, 2004, 7:33 pm
rate this thread
Here is a simple function I've created:
I've this form:
<form name="ReturnBack" method="GET" action="/index.php?">
<center><input type="Submit" name="SubmitButton"
in the index.php page, when I show the SubmitButton value, I get "Search",
the one set in the $_SESSION["SubmitButton"]
Why the $_GET["SubmitButton"] value is empty ?? The Submit type doesn't set
the value ????
Re: Why ???
Apparently (I didn't test it) it should work.
Do you have error_reporting set to E_ALL?
.... maybe that will report some misnamed index
USENET would be a better place if everybody read: | to mail me: simply |
http://www.catb.org/~esr/faqs/smart-questions.html | "reply" to this post, |
http://www.netmeister.org/news/learn2quote2.html | *NO* MIME, plain text |
http://www.expita.com/nomime.html | and *NO* attachments. |
Re: Why ???
On Thu, 11 Nov 2004 16:15:25 +0100, "Bob Bedford"
Do you see " SubmitButton=Retour " in the url after submitting the
form? That will confirm/deny the value is actually being transmitted.
Alternatively, change the form's action to a phpinfo page to confirm
exactly what's where.
David ( @priz.co.uk )
- » How to store HTML code (with " ", ' ') inside a variable in php script?
- — Previous thread in » PHP Scripting Forum