Jump to content

Show region if database , table field, not empty


emediastudios

Recommended Posts

This is my table that draws from a sql database.

 

   <table width="150" border="0">
  <tr>
    <td><a href="images/<?php echo $_POST['photo2']; ?>" target="_blank"><img src="images/<?php echo $_POST['photo2']; ?>" alt="image" width="150" border="0" /></a><br /></td>
  </tr>
</table>

 

How do i edit this to only show this region if the file exsists in db - gcproperty, table - employees, field - photo3

 

thanks for any help

The show details page that the tabe is on is populated by form varible and not from a database binding.

If this makes a difference.

Im a newbe to this and am still learning.

Any help will be appriciated

 

Thanks in advanced

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.