I need some help with some code. I have a MYSQL database query output that has a field value of:
[
{ "title":"SOC1 Certificate", "comment":"", "size":"286.845703125",
"name":"SOC1%20Cert.pdf", "filename":"fu_iik2rfypa3tzrxh", "ext":"pdf" },
{ "title":"SOC 2 cert", "comment":"", "size":"286.845703125",
"name":"SOC2%20Cert.pdf", "filename":"fu_97krdbic5nrdziy", "ext":"pdf" }
]
What would the PHP code be to read this and split the entry into two array records?
Thanks
source https://stackoverflow.com/questions/68962061/how-to-split-the-result-of-a-mysql-query-into-multiple-arrays
Comments
Post a Comment