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"];
精彩评论