I have this problem that when I use array as such
Array
(
[11] => /2
[10] => /2
)
I’m unable to get the array name or the value when I use
for($i=0; $i < count($_SESSION['CHECKBOX']);$i++){
how can I get the name? and value? separate?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Given an array
$_SESSION['CHECKBOX'], you can use:to get the key and values.