我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在php [copy]中的href URL中发送多个值

This question already has an answer here:

  • How to send multiple values in a href link in PHP? 2 answers
<a href="userrequest.php?id=15">

i want to send the datas are id=15&name=svt in same url.Thanks in Advance

</div>

Just do what yourself said:

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

Edit #1:

as @Rob said, it is standard to use &amp; instead of &. Then use:

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

近期文章

  • 插入一个包含多个值的数组,其中一些数据库本身就是一个数组
  • 根据单词计数将字符串拆分为句子
  • 如何在php中分割url的组件[关闭]
  • PHP在多维数组中获取数组的名称
  • 通过PHP从FTP下载文件,就像通常下载文件一样?
  • 当数据库有大量数据时,如何避免在php中执行时间慢
  • 解析错误:语法错误,C:\ wamp \ www \ calculater \ wp-content \ themes \ calculater \ page.php中的意外“使用”(T_USE)行[duplicate]
  • 网址丢失加号
  • PHP不打印整个表
  • MySQL插入错误
  • Laravel 5.0 file_put_contents错误
  • CodeIgniter:form_input为readonly
  • 几个类的PHP相同的命名空间
  • Laravel 5.2在@foreach中形成
  • 通过$ _GET [duplicate]传递变量时SQL中的错误查询
  • HTTPS登录HTTP站点
  • 需要找到另一种在Laravel / PHP中查询搜索结果的方法
  • 将尾随零添加到字符串
  • 为什么我的行应该循环170次时循环12000次?
  • php每个字母到图像

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华