![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
|
Combining GET and POST
I have a form which uses the post method but the action parameter uses post.
[html] <form method="post" action="page.php?var=test"> <input type="text" name="someName"/> </form> [/html] I am having trouble accessing the post elements of the form. What am I doing wrong??:o I sure hope this isn't one of those small stupid things. Thanks in advance. I got this resolved, it turned out to be an error in one of the files I was including. Please delete this post.
__________________
JG-Webdesign Last edited by big_k105; Aug 21st, 2007 at 2:06 PM. Reason: Resolved |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
missing a submit button...
use this as an example to access the variables: $variable=$_Post[someName]; $variable2=$_Get[var]; I might be a little off or completely amiss, I'm a little out of practice with PHP |
|
|
|
|
|
#3 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
As he said,
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|