emediastudios Posted September 29, 2007 Share Posted September 29, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/71124-show-region-if-database-table-field-not-empty/ Share on other sites More sharing options...
emediastudios Posted September 29, 2007 Author Share Posted September 29, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/71124-show-region-if-database-table-field-not-empty/#findComment-357707 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.