Jump to content


This topic is now archived and is closed to further replies.


Show If url parameter=

Recommended Posts

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 ?>[/code]

Share this post

Link to post
Share on other sites


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.