The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Retrieving checkbox values from MYSQL
Hello everyone.
I am tearing my hair out with this one and I sort of know the reason why it wont work, being a loop issue but I cant see where I am going wrong. I have checkboxes as seen in the $a_offenses array. I want the script to check the MYSQL table row 'offenses' which contains an array of those selected checkboxes in the format 'VALUE 1, VALUE 2, VALUE 4, VALUE 6' for example. The problem comes where the first value eg. VALUE 1 is ticked in the list of checkboxes but the others are not and left unchecked. Any ideas? PS - The $c counter is used to ensure only 3 checkboxes are displayed per row ie. formatting only nothing else Thanks in advance. Matt PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|