如何在php [copy]中的href URL中发送多个值
问题描述:
This question already has an answer here:
<a href="userrequest.php?id=15">
i want to send the datas are id=15&name=svt in same url.Thanks in Advance
</div>
此问题已经存在 这里有一个答案: p>
-
如何在PHP的href链接中发送多个值?
\ r
2 answers
span>
li>
ul>
div>
&lt; a href =“userrequest.php?id = 15”&gt; code> pre>
我想发送的数据是id = 15&amp; name = svt在同一个url.Thanks in 提前 p> div>
答
Just do what yourself said:
<a href="userrequest.php?id=15&name=svt">
Edit #1:
as @Rob said, it is standard to use &
instead of &
. Then use:
<a href="userrequest.php?id=15&name=svt">