Page 1 of 1

Trying to get value from picture

Posted: Wed May 26, 2004 8:57 am
by stantheman
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 &#123; ?>
        <tr> 
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'YEAR']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'MAKE']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'MODEL']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'SIZE']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'BEDS']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'BATH']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'COMMUNITY']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'ADDRESS_LOT']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'PRICE']; ?></font></div></td>
          <td><div align="center"><font size="2"><?php echo $row_Recordset1&#1111;'MISC']; ?></font></div></td>
		  $num = <?php $row_Recordset1&#1111;'ID']; ?>
          <td><div align="center"><a href="javascript:popUp&#1111;b]('http://www.hillstreethomes.com/seclevel.php?imgnum=<?php ?>'&#1111;/b])"><img src="<?php echo $row_Recordset1&#1111;'PHOTO']; ?>" width="150" height="100" border="0"></a> 
          </div></td>
		  <td><?php echo ". '$num' ." ?></td>
<?php // echo $row_Recordset1&#1111;'PHOTO']; 1,1);?>
			
        </tr>
        <?php &#125; while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
      </table>

Posted: Wed May 26, 2004 8:59 am
by JayBird
You should have posted in previous thread, not started a new one.

Ill let you off this time ;)

I have deleted your other thread.

Mark

Posted: Wed May 26, 2004 9:34 am
by stantheman
Problem solved used another forum