Ritu Singh
In PHP, you can create an array that contains associative arrays by defining each associative array as an element within the outer array. Each associative array represents a key-value pair structure.
So you need to adjust your loop:
Final $metaDataList will be similar to
Credit:> StackOverflow
Suggested Blogs:
>How to solve XGBoost model training fails in Python
>Python Error Solved: load_associated_files do not load a txt file
>How to build interactive_graphviz in Python
>How to solve encoding issue when writing to a text file, with Python?
>Python Error Solved: pg_config executable not found