Hi,
Was wondering whether that's a big difference in the mysql resources usage of using multiple mysql queries ( one per field ) or just 1 mysql query selecting all the fields.
Like, would there be a big difference in using either:
SELECT field1,field2,field3 FROM members WHERE id = 1
or
SELECT field1 FROM members WHERE id = 1 SELECT field2 FROM members WHERE id = 1 SELECT field3 FROM members WHERE id = 1
The reason why I'd want to use the 2nd example is as for a function I created to do this (like: getMemberinfo("fieldname")).
Thanks in advance!
Cheers.


Sign In
Create Account


Back to top









