开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜