How to use POST on Buttons href -option

Shadab

New Member
Could someone please tell me how to use POST with buttons hrefhttp://stackoverflow.com/questions/6490645/= "" option. Do i need javascript or how can I do it?I need to use POST on my form to transmit the user inputs to PHP script and I was wondering can you do it with href and how? (form action is not an option) If someone would be so kind as to show an example or give a link how to do it.**I used this for the form: \[code\]<form name="assetform" action="formaction.php" method="post">\[/code\]and this for the button: \[code\]<a class="button" input type="submit" name="deluser" href= "javascript:document.assetform.submit()">\[/code\]But it does not seem to carry the information over to formaction.php . So could you tell me what I am doing wrong with this way?**Thank you very much.
 
Top