Hi I have a backend table fetching data from a mysql table.A checkbox when checked should hide the contents from the display page.What should i do for achieving this?
... Is the checkbox on a form to be submitted or something? or do you mean a binary field in your database?
if($_POST['chakcboxname'] == 'on') { // do not show content } else { // show contnt }
Hi
Thank you for reminding me how to do that:).sorry for bothering the forum members.