开发者

Passing the hyper-linked element to the hyper-linked page and receiving the element at the hyper-linked page

开发者 https://www.devze.com 2023-03-18 10:15 出处:网络
24 what should i dowhen i just click on hyper-linked el开发者_运维技巧ementit just pass the elemet to the hyper-linked page as in above example 24 should pass tohttp://localhost/mypage.php and how ca

24

what should i do when i just click on hyper-linked el开发者_运维技巧ement it just pass the elemet to the hyper-linked page as in above example 24 should pass to http://localhost/mypage.php and how can i receive this 24 in mypage.php


If you make a link like this:

<a href="mypage.php?number=24">24</a>

then on the receiving page you can do this:

$number=$_GET["number"];
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号