On Tue, 2009-05-05 at 00:09 -0700, Richard Kurth wrote:
> How can I force this to be a POST and not a GET
> <a href=customer.php?cid=1&location=customeradd.php> Add Customer </a>
> or is the only way you can pass data with a POST is from a Form submission.
The only way you can send post data is either through the form or using
an AJAX call. In theory, you could have an onclick handler for this link
which calls the AJAX, which then alters the page when it gets the return
value. I wouldn't recommend it though, as the link would stop
functioning as a link. Why do you want to send the data through POST


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to