Trying to get value from picture
Posted: Wed May 26, 2004 8:57 am
Below is my code i'm trying to return the vlaue of the id from the recordset in the database so i can pass it on to the seclevel page so it can get the right data when clicked upon can anyone help
Code: Select all
<?php do { ?>
<tr>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'YEAR']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'MAKE']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'MODEL']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'SIZE']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'BEDS']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'BATH']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'COMMUNITY']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'ADDRESS_LOT']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'PRICE']; ?></font></div></td>
<td><div align="center"><font size="2"><?php echo $row_Recordset1ї'MISC']; ?></font></div></td>
$num = <?php $row_Recordset1ї'ID']; ?>
<td><div align="center"><a href="javascript:popUpїb]('http://www.hillstreethomes.com/seclevel.php?imgnum=<?php ?>'ї/b])"><img src="<?php echo $row_Recordset1ї'PHOTO']; ?>" width="150" height="100" border="0"></a>
</div></td>
<td><?php echo ". '$num' ." ?></td>
<?php // echo $row_Recordset1ї'PHOTO']; 1,1);?>
</tr>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
</table>