get hidden input value
Moderator: General Moderators
get hidden input value
i had tried
<input type="hidden" name="hiddenFields" value=<?php print($hiddenFields); ?>>
and yes it works when i just call out $hiddenFields and parsing it into a session. But when i tried calling it using $_POST['hiddenFields'] , it can't work. Is there any way else i can get the values of my hidden fields instead of the above method(bcos its not working in my web hosting server). Please help! thanks in advance!
<input type="hidden" name="hiddenFields" value=<?php print($hiddenFields); ?>>
and yes it works when i just call out $hiddenFields and parsing it into a session. But when i tried calling it using $_POST['hiddenFields'] , it can't work. Is there any way else i can get the values of my hidden fields instead of the above method(bcos its not working in my web hosting server). Please help! thanks in advance!
-
brendandonhue
- Forum Commoner
- Posts: 71
- Joined: Mon Sep 25, 2006 3:21 pm
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Please do not bump your threads.lmh85 wrote:anybody help?
As for the problem you are having, if there is an issue with not being to use sessions in IIS, it might be a permissions issue.[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:4. All users of any level are restricted to bumping (as defined here) any given thread within twenty-four (24) hours of its last post. Non-trivial posts are not considered bumping. A bump post found in violation will be deleted, and you may or may not recieve a warning. Persons bumping excessively be considered as spammers and dealt with accordingly.
As for passing a hidden field, it should work fine as long as what is in the hidden field is what you expect. As has been mentioned in this thread, try looking at the generated output of the PHP you are trying put into the hidden field and see what it is. That might help.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA