This is how you can save values of a set of checkbox to an one variable to store the collective values of all checkboxes to one mysql column
PHP, MySQL, Joomla, Wordpress and other CMSes as well as CSS, jScript, jQuery related tested & trusted references links will be posted here for every PHP enthusiasts references. Enjoy
Search This Blog
Showing posts with label checkbox to array to variable. Show all posts
Showing posts with label checkbox to array to variable. Show all posts
Thursday, June 18, 2020
Saturday, October 20, 2012
PHP Assign Checkbox Values to Array and to a Standard Variable
Oh Boy! I've banged my head, kicked mouse - cursed unfriendliness of these coding syntax and finally found a way.
What about it???
--- I Have 10 Checkboxes
--- Where only selected Checkbox values need to stored into an ARRAY
Once Checkbox values stored into an Array
--- Assign those values to a Standard PHP Variable
Here is HOW for your references:
Wow! That's Simple isn't it??? Yeh, You Bet... ----------------------------------------------------- Bay Area Taxi
Labels:
array,
checkbox,
checkbox to array to variable,
php
Subscribe to:
Posts (Atom)