To reply to the original post (sorry for the confusion):
Maldiv wrote:
Hello,
I have a php update form which use $_POST and $_GET too. I call the update
like this update.php?id=1
And after the user submit the form with new data I use command like this:
UPDATE table SET id=$_POST['id'] WHERE $_GET['
That will work, but the below is really supposed to work. I use it in
my apps.
Blake Schroeder wrote:
Put a hidden field in your form named id.
-Blake
Mattias Thorslund wrote:
Probably with
Blake Schroeder wrote:
The form that is being submitted can only be a POST or a GET not both
example:
Put a hidden field in your form named id.
-Blake
Blake Schroeder wrote:
The form that is being submitted can only be a POST or a GET not both
example:
How can you do both?
-Blake
Maldiv wrote:
Hello,
I have a php update form which use $_POST and $_GET too. I call the
update
like this update.ph
Blake Schroeder wrote:
The form that is being submitted can only be a POST or a GET not both
example:
How can you do both?
Hope that answers your question ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The form that is being submitted can only be a POST or a GET not both
example:
How can you do both?
-Blake
Maldiv wrote:
Hello,
I have a php update form which use $_POST and $_GET too. I call the update
like this update.php?id=1
And after the user submit the form with new data I use command lik
5 matches
Mail list logo