![]() |
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. |
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 |
As he said,
Quote:
|
| All times are GMT -5. The time now is 12:19 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC