Do I do a foreach statement and append it to a string then store that string inside the mysql db?
If I understand you correctly, no, you just need to do a join. Say $value_string = join(',',@checked_values), so you can get them out again and separate them with split() -- but the question arises, should you actually have created your DB in a different way, and had another table for these values altogether?
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
In reply to Re: Best way to store checkbox values into DB
by Cody Pendant
in thread Best way to store checkbox values into DB
by tanger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |