Can php a href post not use a link like index.php?id=value -


i want post value through href. however, not use link index.php?id=value. there other method?

i want post test1 , test2.

<div id="div1">   <li><a href="index.php">test1</a></li>   <li><a href="index.php">test2</a></li> </div> <div id="div2">this <? $_post["name"]; ?>, test.</div> 

use form, method=post, , hidden form field value want post. 'href' either becomes submit button, or have onclick action on link submits form.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

c# - Getting "Internal .Net Framework Data Provider error 30" error when column has NULL value -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -