07-12-2009, 07:27 PM
|
#4 (permalink)
|
|
The Addict
Join Date: May 2009
Posts: 287
Thanks: 5
|
Quote:
Originally Posted by Enfernikus
Don't use backticks, makes your query more portable. And while Adamn said it was oversimplified also keep in mind to try and not use the asterisk as it slows down the query
|
Your correct, you could just grab the user-id field where it matches the input. It would be a faster solution but more knowledge of the subject area would be required.
Also, both of my PHP/MySQL Distributions require backticks, the query fails without them.
|
|
|
|