3 ms·
PHP supports complex data structures using associative arrays which map to the application requirements. Which can be easily saved in JSON. A SQL database with
by paul_f 5y ago
PHP supports complex data structures using associative arrays which map to the application requirements. Which can be easily saved in JSON. A SQL database with rows and fields does not always work well with these data structures. Often, as long as the data size is manageable, a json saved in a mediumtext field in MySQL works just fine.