[Tutorial] How to fetch a result set from a MySQL database. The correct way.
#9

Quote:
Originally Posted by ******
View Post
"SELECT *" is almost NEVER "The correct way." You should explicitly state which columns you want to avoid retrieving excess data.
You are correct as always, but most of the time you do want to retrieve everything, to be stored in an array.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)