JSON encode MySQL results

0

How do I use the json_encode() function in PHP with MySQL query results?
Do I need to iterate through the rows or can I just apply it to the entire results object?


Discover more from Muft Shiksha™ | मुफ्त शिक्षा

Subscribe to get the latest posts sent to your email.

Akbar Khan Posted new comment 5 Apr, 2024
Write your answer.
Join for Teach