jianneng
07-18-2003, 03:41 PM
Hi, I got a MySQL database table with 10 fields, which correspond to 10 columns of data if you output the query in PHP pages.
My idea is (in Dreamweaver), to create 10 checkboxes so that the user can choose which column of data they want to display. If this is something of less than 5 fields, I know the if/else statements can be used (though a bit tedious)...but this is 10 fields, so I just wonder if there is a better way of doing this.
Thanks in advance.
Lim.
My idea is (in Dreamweaver), to create 10 checkboxes so that the user can choose which column of data they want to display. If this is something of less than 5 fields, I know the if/else statements can be used (though a bit tedious)...but this is 10 fields, so I just wonder if there is a better way of doing this.
Thanks in advance.
Lim.