I have 3 images, each of them within a link
<a href="contratar.php?plan=basico" value="basico"><img src="images/p1.gif"></a>
<a href="contratar.php?plan=avanzado" value="avanzado"><img src="images/p2.gif"></a>
<a href="contratar.php?plan=profesional" value="profesional"><img src="images/p3.gif"></a>
Clicking on any of them takes me to my contract.php page and here I need to show the plan that the user selected.
Thanks in advance.
You only have to capture the value that you send by GET , and it will tell you which plan I selected. I leave you the example, I only leave you the php code because you already have the html code: