ccrevcypsys Posted November 6, 2007 Share Posted November 6, 2007 is there any way that i would be able to hide one of the checkboxes if it is pulling from a database. Here is the scenario in my website i have all of the different regions (of my website) listed from 1 - 6 on the database. I have just recently made it so that the users can post in different regions other then the old just one region. My problem is that there is an all in the database table. Normally i would just get rid of it but it would void out all of those posts with the region selected as all. What i need to do is hide or get rid of that all without hurting the web site. Is there any way to do that? here is my code for the checkboxes <input name='$row_region[keyid]' type='checkbox' value='$row_region[keyid]'$sel />$row_region[region_name] now remember that the $row_region[keyid] is from 1 - 6 and 6 is the all button. Quote Link to comment Share on other sites More sharing options...
s0c0 Posted November 6, 2007 Share Posted November 6, 2007 Not sure exactly what you are asking so I'll take your question in a very literal sense: is there any way that i would be able to hide one of the checkboxes if it is pulling from a database. You can hide a checkbox from the users view using CSS, there is no easy way to do it though such as a hidden text field. Quote Link to comment 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.