I have working on two way to fetch datas from multiple tables.
- MYSQL JOIN query
- PHP foreach loop query
Can you provide the idea of which one work faster?
Thanks in Advance.
I have working on two way to fetch datas from multiple tables.
Can you provide the idea of which one work faster?
Thanks in Advance.
If SQL can do the task, it can usually do it faster. Reasons: