need help

2010-05-02 Thread chandrasekhar reddy
hi all,

i am new to cake php can any 1 help me plz,


1).. $rsProfile = pg_exec($conn,SELECT strprofilename FROM tblmusicprofiles
WHERE lngprofile = $PROFILE_ID);


$rsProfile = $this-Tblmusicprofiles-find(
'all',
array(
 'conditions' = array(
 'Tblmusicprofiles.lngprofile' = $PROFILE_ID
 ),
 'fields' = array(
   'Tblmusicprofiles.strprofilename'
 )
)
);


2).  $intProfileCnt = pg_numrows($rsProfile);


$rsProfile = $this-set('rsProfile', $rsProfile);

$intProfileCnt = $this-Tblmusicprofiles-find(
 'count',
 array('conditions' = array(
   'Tblmusicprofiles.lngprofile' = $PROFILE_ID
  ),
  'fields' = array(
'Tblmusicprofiles.strprofilename'
  )
 )
);

 i am trying the above two statements , i got the out put of first , but i
am unable to find out the number of rows in a particular table with
particular colom . as write the above 2nd statement.


plz help out

thanks in advance,

regards,
chandu

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


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);



var $rsProfile = $this-tblmusicprofiles-find('all', array('conditions' =
array('tblmusicprofiles.lngprofile' = '$PROFILE_ID'),
 'fields' = array('tblmusicprofiles.strprofilename')));




2. count

 $intProfileCnt = pg_numrows($rsProfile);


var $intProfileCnt = $this-tblmusicprofiles-find('count',
array('conditions' = array('tblmusicprofiles.lngprofile' = '$PROFILE_ID'),
   'fields' = array('tblmusicprofiles.strprofilename')));

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


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('conditions' = array('tblmusicprofiles.lngprofile' = '$PROFILE_ID'),
   'fields' = array('tblmusicprofiles.strprofilename')));

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


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 the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: plz help me out

2010-04-28 Thread chandrasekhar reddy
ok tahnk you


On Wed, Apr 28, 2010 at 4:08 PM, Jeremy Burns jeremybu...@me.com wrote:

 You haven't changed the table names to model names as I suggested in my
 last response - change them from tblmusicprofiles to Tblmusicprofile. Then
 run it again and post back any errors.

 Jeremy Burns
 jeremybu...@me.com jeremybu...@mac.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

 $intProfileCnt = pg_numrows($rsProfile);


 var $intProfileCnt = $this-tblmusicprofiles-find('count',
 array('conditions' = array('tblmusicprofiles.lngprofile' = '$PROFILE_ID'),
'fields' = array('tblmusicprofiles.strprofilename')));


 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 cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php?hl=en


  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 cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


How can u write the order and unorder list

2010-04-23 Thread chandrasekhar reddy
Hi friends i am new to cake php. sorry for asking simple queries also

how to write order and unordered list cakephp .

i my coding they are mentioned  like this. I don`tknow how to write in cake
php ?
 can any one plz help me. thats is more help for me.


*My Store Groups*



   - *Admin Store Group http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9644AlbertonFamily StoreGauteng Division
  - 3741BethlehemSupermarketNorthern Cape and O.F.S Division
  - 2543BluffSupermarketNatal Division


   - *Gauteng Division http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9644AlbertonFamily StoreGauteng Division
  - 5436Germiston Family StoreFamily StoreGauteng Division


   - *Group http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9644AlbertonFamily StoreGauteng Division
  - 5436Germiston Family StoreFamily StoreGauteng Division
  - 9283UitenhageSupermarketEastern Cape Division


   - *My Group http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9989Boston Family Store ( Family store )Family StoreWestern Cape
  Division
  - 2663Brackenfell Family StoreFamily StoreWestern Cape Division
  - 5552La LuciaSupermarketNatal Division


   - *rakesh http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9644AlbertonFamily StoreGauteng Division
   -

thank you very much.

regards,
chandu.

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: CMS

2010-04-22 Thread chandrasekhar reddy
Thank you very much

On Thu, Apr 22, 2010 at 2:11 PM, keymaster ad...@optionosophy.com wrote:


 At this point croogo is pretty much the front contender, way ahead of
 the pack. It also seems very well thought out.

 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 cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


CMS

2010-04-21 Thread chandrasekhar reddy
Hi friends,
 I need some information Regarding CMS(Content Management System). Is There
any CMS was Related to cakephp  (Like joomla,drupal ( for php))

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


need

2010-04-19 Thread chandrasekhar reddy
A HREF=?=$PHP_SELF;??intAction=2MODE=1IMG
SRC=../images/wizard/new_profile.png BORDER=0 onMouseDown=this.src =
'../images/wizard/new_profile_down.png'; onMouseUp=this.src =
'../images/wizard/new_profile.png';/A



How can i write this phpcode into cakephp

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: need

2010-04-19 Thread chandrasekhar reddy
?php
 echo $html-link($html-image('new_profile.png' , array('border' = '0',
'onMouseDown' = 'new_profile_down.png',
 'onMouseUp' = 'new_profile.png')), 'shownewprofile1', '?' =
array('intAction' = '2', 'MODE' = '1'), null);
?



On Mon, Apr 19, 2010 at 5:15 PM, John Andersen j.andersen...@gmail.comwrote:

 In your view file, use the html helper for the link part!
 Use the html helper for the image part with additional information to
 support your onMouseDown/Up options.
 When you have done that, please show us the code, so that we may
 assist you further.
 Enjoy,
   John

 On Apr 19, 1:26 pm, chandrasekhar reddy chanduc...@gmail.com wrote:
  A HREF=?=$PHP_SELF;??intAction=2MODE=1IMG
  SRC=../images/wizard/new_profile.png BORDER=0 onMouseDown=this.src =
  '../images/wizard/new_profile_down.png'; onMouseUp=this.src =
  '../images/wizard/new_profile.png';/A
 
  How can i write this phpcode into cakephp
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group athttp://
 groups.google.com/group/cake-php?hl=en

 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 cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Running Cake in subfolder

2010-04-19 Thread chandrasekhar reddy
Whts the erroe its getting.tell me clearly then i will try to solve ur
query.

On Mon, Apr 19, 2010 at 1:31 PM, Andrei Mita andrei.m...@gmail.com wrote:

 Hello,

 I'm probably the 1000th guy who asks this question but I didn't manage to
 find the answer on the group. I found some, but didn't apply to me.

 I'm developing small apps using cake in order to get my head around it.
 Every single time I start with a fresh copy by putting and renaming the
 downloaded folder in my www root dir.

 I have /var/www/blog, /var/www/tasks, /var/www/todo etc. Some of this
 copies don't render the css files. I've tried altering the .htaccess to no
 result.

 Any idea why and how to solve this? The official manual says it should work
 right away.

 Thanks,
 Andrei

 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 cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


cookbook for CAKEPHP

2010-04-19 Thread chandrasekhar reddy
if anybody want to download the cookbook of cake php

plz click on below link then u can download easily.

http://www.ibonette.com/cakephp-1-2-manual-for-print-out/

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: need

2010-04-19 Thread chandrasekhar reddy
?php
 echo $html-link($html-image('new_
profile.png' , array('border' = '0',  'onMouseDown' =
'new_profile_down.png',
 'onMouseUp' = 'new_profile.png')), 'shownewprofile1', '?' =
array('intAction' = '2', 'MODE' = '1'), null);
?


i tryed this one but its getting error


On Mon, Apr 19, 2010 at 5:15 PM, John Andersen j.andersen...@gmail.comwrote:

 In your view file, use the html helper for the link part!
 Use the html helper for the image part with additional information to
 support your onMouseDown/Up options.
 When you have done that, please show us the code, so that we may
 assist you further.
 Enjoy,
   John

 On Apr 19, 1:26 pm, chandrasekhar reddy chanduc...@gmail.com wrote:
  A HREF=?=$PHP_SELF;??intAction=2MODE=1IMG
  SRC=../images/wizard/new_profile.png BORDER=0 onMouseDown=this.src =
  '../images/wizard/new_profile_down.png'; onMouseUp=this.src =
  '../images/wizard/new_profile.png';/A
 
  How can i write this phpcode into cakephp
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group athttp://
 groups.google.com/group/cake-php?hl=en

 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 cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: need

2010-04-19 Thread chandrasekhar reddy
?php echo $html-
   image(
'new_profile_down.png',
 array(
'border' = 0,
'width'=56,
'height'=52,
'url' =
 array(
  'action' =
  'profiles', '?' =
array('intAction' = '2', 'MODE' = '1')
 )
 )
   );
?

i tryed this one its working i dontknow its working correct or not.

On Mon, Apr 19, 2010 at 6:05 PM, John Andersen j.andersen...@gmail.comwrote:

 To me it looks like you are trying to have a link with an image, which
 is to work like a button, that is, the image must change on mouse down
 and up.

 I would assume that the onMouseDown/Up events should either contain a
 reference to a javascript function or javascript itself, not just the
 filename of the image to use.

 Also the last parameter to the html-link method should be false, so
 that the html helper will not convert the image html into html
 entities!

 When you try to run the code, does it give any errors or surprises?
 Enjoy,
   John

 On Apr 19, 2:50 pm, chandrasekhar reddy chanduc...@gmail.com wrote:
  ?php
   echo $html-link($html-image('new_profile.png' , array('border' = '0',
  'onMouseDown' = 'new_profile_down.png',
   'onMouseUp' = 'new_profile.png')), 'shownewprofile1', '?' =
  array('intAction' = '2', 'MODE' = '1'), null);
  ?
 
  On Mon, Apr 19, 2010 at 5:15 PM, John Andersen j.andersen...@gmail.com
 wrote:
 
 
 
   In your view file, use the html helper for the link part!
   Use the html helper for the image part with additional information to
   support your onMouseDown/Up options.
   When you have done that, please show us the code, so that we may
   assist you further.
   Enjoy,
 John
 
   On Apr 19, 1:26 pm, chandrasekhar reddy chanduc...@gmail.com wrote:
A HREF=?=$PHP_SELF;??intAction=2MODE=1IMG
SRC=../images/wizard/new_profile.png BORDER=0
 onMouseDown=this.src =
'../images/wizard/new_profile_down.png'; onMouseUp=this.src =
'../images/wizard/new_profile.png';/A
 
How can i write this phpcode into cakephp
 
Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp
 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group athttp://
   groups.google.com/group/cake-php?hl=en
 
   Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group at
  http://groups.google.com/group/cake-php?hl=en
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group athttp://
 groups.google.com/group/cake-php?hl=en

 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 cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


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

javascript validation

2010-04-16 Thread chandrasekhar reddy
hi frns can any one help me how to validate javascript from clint side and
how to pass the variables through javascript.

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en