You just have to do it once in your AppModel (located in your
application's root directory).

my AppModel looks like this:

class AppModel extends Model
{
  function __construct()
  {
    $this->execute("SET NAMES 'UTF8');
    parent::__construct();
  }
}

2006/4/11, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Andreas:
>     Is any Model should add  $this->execute("SET NAMES 'utf8'"); ?
>    Or only one model is enough?
>
>
> >
>


--

e> [EMAIL PROTECTED]
w> http://andreas-waidelich.de

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to