Hello there, I've got a search box that finds the item that I look for but it doesn't display the id number when i put the mouse cursor on top on the item. instead of showing the id number it shows the variable ($id). Any idea why this is not working?
Here is the code that I use in the while loop:
while ($rows = mysql_fetch_assoc($rsd)){
$id = $rows['itemID'];
?>
<div class="each_rec"><a href="item_Details.php?itemID=$id" target="_blank"><?php echo $rows['itemName'];?></a></div>
<?php
}
if($total==0){ echo '<div class="no-rec">No Record Found !</div>';}?>
when I put the cursor over the link it display this:
instead of
Thanks