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

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -