it is as simple as

$this->findCount("email = \"$email\"");

$email being a valid email address eg [EMAIL PROTECTED]

thanks
andrew

On Mar 15, 11:54 pm, "Grant Cox" <[EMAIL PROTECTED]> wrote:
> Paste your query code.  For Cake to change your '[EMAIL PROTECTED]' into
> 'user `domain`.`tld`' you will have some error in your query code
> (perhaps inserting your email into a string, without quotes
> surrounding it?)
>
> On Mar 16, 4:30 am, "pigeon" <[EMAIL PROTECTED]> wrote:
>
> > hello everyone,
>
> > i've been failing to do a query (findCount) with an e-mail address on
> > an sql database. (actually this is to check if the specified user
> > exists in the database) The e-mail address is converted to a user "
> > `domain` . `tld` " format in the select statement, which of course
> > renders the query useless, since i have " [EMAIL PROTECTED] " e-mail
> > addresses in my db.
>
> > Is there a way to relax or completely shut down this validation ? is
> > this documented anywhere ?
>
> > thanks!
> > andrew


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to