This question already has an answer here:
When creating hyperlinks using the <a>
tag and an href
attribute with the value "g.php?id=hhjjj"
, can we retrieve the value of id
on the next page using PHP's $_GET
variable?
</div>
Yes. In PHP, $_GET["id"]
will give you the value of id
as a string ("hhjjj"
).