i want to make this icon a link and when you click on it it takes you to another page but carrys accross the id field.
here is the php dynamic image which i want to become the link
<img src="<?php echo $row_Recordset1['editicon']; ?>">
i want it to goto test1.php
here is the same code but done in asp. (i know how to do it in asp.
<a href="test1.asp?<%= MM_keepNone + ((MM_keepNone!="")?"&":"") + "ID=" + Recordset1.Fields.Item("ID").Value %>"><img src="<%=(Recordset1.Fields.Item("editicon").Value)%>" border="0"></a>
here is the top part of my php code (if you need it for some reason)
<?php require_once('Connections/something.php'); ?>
<?php
mysql_select_db($database_something, $something);
$query_Recordset1 = "SELECT * FROM testtable";
$Recordset1 = mysql_query($query_Recordset1, $something) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>
please help.
aron