Kyrillos Posted April 27, 2008 Share Posted April 27, 2008 Ok so i want to create a dynamic table using check boxes that have the names of columns in my sql database. Depending on which box is checked in the form, the table will only display those colums on the next page. I have no idea how to go about doing this. Can someone please help me? Link to comment https://forums.phpfreaks.com/topic/103138-need-help-with-dynamic-table/ Share on other sites More sharing options...
BlueSkyIS Posted April 27, 2008 Share Posted April 27, 2008 can we see the code so far? Link to comment https://forums.phpfreaks.com/topic/103138-need-help-with-dynamic-table/#findComment-528289 Share on other sites More sharing options...
Kyrillos Posted April 27, 2008 Author Share Posted April 27, 2008 i have no code so far other than the html form i created with the check boxes, my method in the form is GET Link to comment https://forums.phpfreaks.com/topic/103138-need-help-with-dynamic-table/#findComment-528291 Share on other sites More sharing options...
Kyrillos Posted April 27, 2008 Author Share Posted April 27, 2008 ive heard something about using the input name as an array ex: name=input[], im not really sure how to exactly get that working with what i need. Link to comment https://forums.phpfreaks.com/topic/103138-need-help-with-dynamic-table/#findComment-528304 Share on other sites More sharing options...
BlueSkyIS Posted April 27, 2008 Share Posted April 27, 2008 i guess i would have a checkbox for each field name. if a field name checkbox isn't checked, then don't include it in the SQL query. Link to comment https://forums.phpfreaks.com/topic/103138-need-help-with-dynamic-table/#findComment-528318 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.