Jump to content

Hiding table cell populated with php data using a tickbox and dropdown function


Confuzzled

Recommended Posts

Hi.

 

I have a table that I've created using html and php to draw data into it from a database.

The table has 4 headers:

 

Name, Description, Group and Completed

 

I want to add a drop down to the Group column so that i can select which i want to see and then it would filter the collected data and just show me the selected group.

 

At the moment, i have a standard html dropdown with the group names but it obviously won't filter without some help. Is there some way to do this? 

 

On a second note. The Category column contains checkboxes next to every row that is populated in the table. Is there someway that I can get that to hide the row it's on upon clicking it but to have the checkbox still visible so as to unhide it when wanting to see it again?

 

Many thanks for your time and help  ;D

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.