-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
WordPress-Theme Twenty Twenty Four-customizing: how to do that - a Gutenberg special question...
By thedhubs,
- 1 answer
- 1,179 views
-
- 5 replies
- 2 views
-
Google to discontinue the Basic HTML version of Gmail next year
By Chasethebase,
- 1 reply
- 14 views
-
Get this Price Dropped Coding 101 Bootcamp Beginners Bundle for only $24.99
By News Staff,
- zenva academy
- coding 101
- (and 11 more)
- 1 reply
- 9 views
-
- 3 answers
- 4,615 views
-
Question
xScence
I have this html form:
PHP CODE:
i want to list all check boxes checked and unchecked like this
if i checkbox 1
will returns me
array(
[0] => on
)
but when i checkbox 5 will return me the same array key[0] => on so how can i do it like this (like text fields):
if i checkbox 2,3,6
thanks alot.
Link to comment
https://www.neowin.net/forum/topic/1171197-php-post-form-checkboxes-and-text/Share on other sites
5 answers to this question
Recommended Posts