Please help me out, i came across this script in my project. Is this html array or php array ?
<input type="hidden" name="newsletter['.$var["id"].'][someid]" value="'.$var['id'].'" />
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.
This is a combination between the two. For example, the following:
When submitted, this will be read by PHP into an array called
arr, looking like this:This makes being able to pass arrays to your PHP script a lot easier, either through the generating PHP, or through javascript, or similar.
The specific example you have is using a PHP array to generate some HTML that can then be read as an array in the next PHP script, but HTML itself does nto have the concept of an array.