![]() |
checkbox
hi guys,
can anyone help me with this, it has nothing to do with vbulletin. i want to write/pull some info to/from the database, and show the values in checkboxes, for example; when a user signs up, he/she checks his interests in a form with checkboxes, this form puts the values into a database table, seperated with a space. And afterwards the user should have the possibility to change this info. How do i make a form that puts multiple values in one table, seperated with a space? And afterwards; how do i make a form that pulls the info from the database, en checks the checkbox if values are found in the table? does this make any sense?? :cross-eyed: Hidjra |
i tried this, but this only works when a user checks just one of the checkboxes :knockedout:
PHP Code:
PHP Code:
hidjra |
The checkboxes need to have unique names, for starters...
|
ok, i gave the checkboxes a unique name, and i succeeded in writing the value to the table, seperated with a space
PHP Code:
PHP Code:
PHP Code:
|
nobody?? hello guys :speechless: help needed :D
Hidjra |
All times are GMT. The time now is 12:34 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:
|