![]() |
create multiple checkbox with [print_checkbox_row]
Hello ,
i have a problem with [print_checkbox_row] when create multiple checkbox from array Shows only one checkbox ! PHP Code:
|
print_checkbox_row prints a SINGLE row/checkbox. It won't print from an array. You'll need to put that into a loop.
|
Quote:
PHP Code:
print_radio_row OR print_membergroup_row .. is there another solution ?! thnx ,Lynne |
Those functions are in includes/adminfunctions.php, and they're pretty simple. Maybe what you could do is copy one of them and change it to do what you want. print_checkbox_row() puts each one in a div tag, which puts them on separate lines by default. So maybe you could copy that function, put in a loop to go through an array, take out the <div> (or change the display type to inline), and output a <br> tag when you want a new row.
|
Quote:
maybe that's a good way , but i see the loop is esay for me thnx anyway for your help, kh99 |
All times are GMT. The time now is 05:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|