Hello, I need to discuss one thing.
Should I use PHP OR MySQL ??
6
Hello,
I need to discuss one thing.
Suppose,
I have a table in mysql database:
table1:
If I need to retrieve records in asc order from col_1, I can do this in two manners. One is I can simply use this 'ORDER BY col_1 ASC' in the end of the query. The 2nd way is I can use the php functions to sort my records in ascending order.
Should I use mysql or php to sort my records in asc order. If PHP then why ?? If mysql then why ??
What are its effects on our script related to time execution of our script ??
Thanks in advance.
I need to discuss one thing.
Suppose,
I have a table in mysql database:
table1:
- col_1
If I need to retrieve records in asc order from col_1, I can do this in two manners. One is I can simply use this 'ORDER BY col_1 ASC' in the end of the query. The 2nd way is I can use the php functions to sort my records in ascending order.
Should I use mysql or php to sort my records in asc order. If PHP then why ?? If mysql then why ??
What are its effects on our script related to time execution of our script ??
Thanks in advance.
- AndyBlackSEO
- Jilawatan
- [1] reply
- Christopher Airey
- [ 1 ] Thanks
- [1] reply
- Jilawatan
Next Topics on Trending Feed
-
6