Re: plz help me out

2010-04-30 Thread Narendra Padala
' >> ), >> 'fields' => array( >> 'Tblmusicprofile.strprofilename' >> ) >> ) >> ); >> >> I would also recommend looking up the Containable behaviour ( >> http://book.cakephp.org/view/1323/Containable). >> >

Re: plz help me out

2010-04-30 Thread Narendra Padala
t; ); > > I would also recommend looking up the Containable behaviour ( > http://book.cakephp.org/view/1323/Containable). > > Your table naming convention is not ideal. I'd point you towards > http://book.cakephp.org/view/903/Model-and-Database-Conventions for more > details. > >

Re: plz help me out

2010-04-28 Thread Sam Sherlock
n 29 April 2010 05:49, chanducake wrote: > hi friends, > > i am new to cakephp . plz help me out > > > I don't know how to write the cake php code related to the belowe postgre > sql code can u help me plz . > how can u find out the number of rows in particu

plz help me out

2010-04-28 Thread chanducake
hi i am new to cake php . i don't know how to write controller, model, view related to the below statements . plz help to write the whole code .for this only. i have to take the reference as this i will write the remaining code in my project. if("$chkProfileType" == ""){$chkProfileType = "1";}

plz help me out

2010-04-28 Thread chanducake
hi friends, i am new to cakephp . plz help me out I don't know how to write the cake php code related to the belowe postgre sql code can u help me plz . how can u find out the number of rows in particular colom in table (second statement below). i hav lot queries like this in my pr

Re: plz help me out

2010-04-28 Thread Jeremy Burns
See if either of these pages help: http://book.cakephp.org/view/1138/stripslashes_deep http://book.cakephp.org/view/1126/convertSlash http://book.cakephp.org/view/1183/Data-Sanitization And while I'm writing, I found these answers by doing a quick search in the online guide. You could try that y

Re: plz help me out

2010-04-28 Thread chandrasekhar reddy
emy Burns > jeremybu...@me.com > > > On 28 Apr 2010, at 11:34, chandrasekhar reddy wrote: > > > I am new for cakephp plz help me out . below statement are correct or wrong > . idontknow > > > While converting this sql query into cakephp for result set and count &

plz help me out

2010-04-28 Thread chandrasekhar reddy
can i use stripslashes in cakephp directly in cakephp like php .is it work ? $txtProfileName = stripslashes($txtProfileName); 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

Re: plz help me out

2010-04-28 Thread Jeremy Burns
am new for cakephp plz help me out . below statement are correct or wrong . > idontknow > > > While converting this sql query into cakephp for result set and count > > $intProfileCnt = pg_numrows($rsProfile); > > > var $intProfileCnt = $this->tblmusicprofil

plz help me out

2010-04-28 Thread chandrasekhar reddy
I am new for cakephp plz help me out . below statement are correct or wrong . idontknow While converting this sql query into cakephp for result set and count $intProfileCnt = pg_numrows($rsProfile); var $intProfileCnt = $this->tblmusicprofiles->find('count', array('

Re: plz help me out

2010-04-28 Thread Jeremy Burns
for more details. Jeremy Burns jeremybu...@me.com On 28 Apr 2010, at 11:13, chandrasekhar reddy wrote: > I am new for cakephp plz help me out . below statements are correct or wrong > . idontknow > > > While converting this sql query into cakephp for result set and count &

plz help me out

2010-04-28 Thread chandrasekhar reddy
I am new for cakephp plz help me out . below statements are correct or wrong . idontknow While converting this sql query into cakephp for result set and count 1. Result set $rsProfile = pg_exec($conn,"SELECT strprofilename FROM tblmusicprofiles WHERE lngprofile = $PROFILE_ID"