如何在 PHP 中的 href URL 中发送多个值


how to send multiple values in href URL in php

<a href="userrequest.php?id=15">

我想在同一网址中发送数据是id=15&name=svt。提前致谢

就按照自己说的去做:

<a href="userrequest.php?id=15&name=svt">

编辑#1

正如@Rob所说,使用&amp;而不是&是标准的。然后使用:

<a href="userrequest.php?id=15&amp;name=svt">