{
"required_items": [{
"filename": "abcd",
"no": "3"
},
{
"filename": "abc",
"no": "2"
}
]
}
I am not getting the code of the JSON format in PHP – I want to insert the filename and no through a loop.
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.
If you’re asking how to generate the above JSON code in PHP, do something like this: