Jump to content

id variable comes as empty in the url string


co.ador

Recommended Posts

<?php 
$id= $_GET['id'];
?>

<li ><a href="prueba.php?id=<?php  $id   ?>"><img src="images/menu.gif" align="middle" alt="menu" width="100%" height="22" /></a></li>

 

the link in the li tags will come out with an empty id in the url string like

 

 

Don't know why is coming as empty.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.