Re: Unexpected T_ENCAPSED...
| From: | Curt Zirzow | Date: | Sat, 24 Jul 2004 20:01:44 +0000 |
| Subject: | Re: Unexpected T_ENCAPSED... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191772@lists.php.net to get a copy of this message | ||
* 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!