Hi...Everyone!

I am new to cakephp , I am using postgres sql, i have problem like
this i am able to convert this psql query to cake but
pg_numrows() is i am not able convert. so please any one can help me
out.


 $rsCDLog = pg_exec($conn, "SELECT dtmcreated  FROM tblcdlog WHERE
blnsuccess = '1'");

 $rsProfile = $this->Tblcdlog->find('all',
                                     array('conditions' => array(
 
'Tblcdlog.blnsuccess' => 1),
                                           'fields' => array(
 
'Tblcdlog.dtmcreated')));


 $intCDLogCnt = pg_numrows($rsCDLog);

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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