Hello;
I am stuck and hope someone can help me.
I have a menu attached to a MySQL DB that has various items stored and are called with PHP when a user clicks on the link.
(I included the menu code below and bolded the area that I cannot get working)
I want to add a menu item that is only visible if there is something stored in the DB. I bolded the area below as to the part of the menu I want the field.
I appreciate any help. Thank you in advance.
<table cellspacing="0" cellpadding="0" id="menu2" class="ddmx">
<tr>
<td>
<td bordercolor="#000000">
<a class="item3 arrow" href="javascript:void(0)">Product Information<img src="/images/arrow3.gif" width="10" height="12" alt="" /></a>
<div style="border: 2px; #FFFFFF" class="section">
<a class="item2" href="<?php echo $tech_url; ?>"> Tech Sheet - <?php echo $techsheet; ?> </a>
<a class="item2" href="<?php echo $broch_url; ?>"> Product Brochure - <?php echo $brochure; ?> </a>
<a class="item2" href="/howtobuy.html">How to Buy</a>
</div>
<a class="item3 arrow" href="javascript:void(0)">Drivers & Downloads<img src="/images/arrow3.gif" width="10" height="12" alt="" /></a>
<div style="border: 2px; #FFFFFF" class="section">
<a class="item2" href="<?php echo $soft_url; ?>">Software - <?php echo $soft; ?></a>
<a class="item2" href="/products.html">Product Information</a>
</div>
<a class="item3 arrow" href="javascript:void(0)">Manuals & Specifications<img src="/images/arrow3.gif" width="10" height="12" alt="" /></a>
<div style="border: 2px; #FFFFFF" class="section">
<a class="item2" href="<?php echo $manual_url; ?>"> Manual - <?php echo $manual; ?> </a>
<a class="item2" href="/trouble.html">FAQs</a>
</div>
<a class="item3 arrow" href="">Certifications<img src="/images/arrow3.gif" width="10" height="12" alt="" /></a>
<div style="border: 2px; #FFFFFF" class="section">
<a class="item2" href="/certs.html">Partner Certifications</a>
</div>
<a class="item3 arrow" href="javascript:void(0)">Support & Service<img src="/images/arrow3.gif" width="10" height="12" alt="" /></a>
<div style="border: 2px; #FFFFFF" class="section">
<a class="item2" href="/techsupt.html">Contact Tech Support</a>
<a class="item2" href="/trouble.html">Troubleshooting Tips & FAQs</a>
<a class="item2" href="/warrantyinfo.html">Warranty Information</a>
<a class="item2" href="/license.php">Authorize Products</a>
<a class="item2" href="/registration.php">Register Products</a>
<a class="item2" href="/services/index.html">Service Programs</a>
</div>
<a class="item3 arrow" href="javascript:void(0)">Request Information<img src="/images/arrow3.gif" width="10" height="12" alt="" /></a>
<div style="border: 2px; #FFFFFF" class="section">
<a class="item2" href="/oem.html">Request Sales Support</a>
<a class="item2" href="/techsupt.html">Request Technical Support</a>
<a class="item2" href="/techsupt.html">Request Technical Support</a>
<a class="item2" href="/techsupt.html">Request Technical Support</a>
</div>
<a class="item3 arrow" href="javascript:void(0)">Solutions<img src="/images/arrow3.gif" width="10" height="12" alt="" /></a>
<div style="border: 2px; #FFFFFF" class="section">
<a class="item2" href="/oemsolutions.html">OEM</a>
<a class="item2" href="/digitalcc.html">Digital Content Creation</a>
<a class="item2" href="/business.html">Backup</a>
</div>
<?php
if ($db_field == 'url15') {
?>
<a class="item2" href="<?php echo $url15; ?>"> Special <?php echo $url15; ?> </a>
<?php
}
?>
</td>
</tr>
</table><!-- #EndLibraryItem -->
</td>
</tr>
</table>