Hi I want to insert/update user password in DB using mysql PASSWORD() function. I tried it with doInsert() and doUpdate() method in following way but it is not working. Do I need to use Raw Query Or I can handle it with Criteria Object. $c = new Criteria(); c->add(AdminPeer::LOGINID,$this->login_id); $c->add(AdminPeer::PASSWD,'PASSWORD('.$this->login_id.')',Criteria::CUSTOM); $c->add(AdminPeer::DATE_CREATE,date('Y-m-d H:i:s')); AdminPeer::doInsert($c);
we can't use PASSWORD function in setMethod() right? JANAK -- Janak Jadeja ASPL http://www.aspl.in --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---