Jump to content


Photo

Show If url parameter=


  • Please log in to reply
No replies to this topic

#1 helwo

helwo
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 24 March 2006 - 01:39 AM

I have a form with an initial jump menu that dynamically populates the next two drop down boxes.On selection of the initial menu, the id is passed through the url.

I want one box not to show if the initial option domestic is chosen.
table is category, field name is category and cat_id the values are domestic =1 and commercial =2
<?php if ($row_cat_id['category'] == "1") 
  { ?> 
<select name="problems"></select>
   <?php } // Show if recordset empty ?>





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users