* Thus wrote Philip Olson: > > Sorry, let me clearify.. unless UserId is an integer, quote it !! > > And quoting integers is not a problem, I even prefer it. IMHO we should > tell people to quote all values so if someone "forgets" to do any sort of
One thing to note though, mysql/sqlite is the only dbms that I know of that allows this, mysql may not even use the proper index if a INT field is comparing to a string type. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php