I currently have a php database set up so that when you open up the page that it shows up on. If the database has something inside of it than it will show the information if not than it will display a “Sorry currently no files available type of thing”
For example:
<?php do { ?><?php } while ($row_rsRENTALS = mysql_fetch_assoc($rsRENTALS)); ?> <?php if ($totalRows_rsRENTALS == 0) { // Show if recordset empty ?> ---------- No Rental Properties Available ----------
Even though we currently don't have property up for sale. Feel free to contact us to look into designing your very own custom Pre-Sold today. We are committed to supporting you throughout the home building process and through every stage from construction to completion.
We are commited to your comfort.
This is not only our policy is our philosophy. Its the way we do business.<?php } // Show if recordset empty ?> </table></blockquote>
The problem I’m running into. Is that I have an image inside of that <?php do statement. When the database is blank everything is removed except for the box that the image would of gone inside of. Is there anyway to make the image box vanish as well when the database is empty?