RE: cakephp foreach loop problem

2013-09-24 Thread Advantage+
Sekhar Sent: Tuesday, September 24, 2013 7:41 AM To: cake-php@googlegroups.com Subject: cakephp foreach loop problem I passed id from foreach loop and i would like to use the entire row using that id how? my code is http://localhost/maanyadev/img/u

cakephp foreach loop problem

2013-09-24 Thread Chandra Sekhar
I passed id from foreach loop and i would like to use the entire row using that id how? my code is http://localhost/maanyadev/img/uploads/" height="100" width="100" id="img"> Name: Price:  Html->link('Addtocart',$product['Product']['id'],array('onClick'=>'test1('.$pd.');return false;'));

Re: Cakephp Foreach when using Joins

2012-02-28 Thread phpMagpie
learn something new every day :) On Monday, 27 February 2012 16:46:36 UTC, euromark wrote: > > debug() automatically echoes > so no echo required^^ > > > On 27 Feb., 17:11, phpMagpie wrote: > > echo debug($array); gives much nicer formatting. -- Our newest site for the community: CakePHP Vid

Re: Cakephp Foreach when using Joins

2012-02-27 Thread euromark
debug() automatically echoes so no echo required^^ On 27 Feb., 17:11, phpMagpie wrote: > echo debug($array); gives much nicer formatting. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and he

Re: Cakephp Foreach when using Joins

2012-02-27 Thread phpMagpie
echo debug($array); gives much nicer formatting. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send emai

Re: Cakephp Foreach when using Joins

2012-02-27 Thread Stephen
To check the data layout, you could use or var_dump($updates); On 27 February 2012 01:44, Ali Wasif wrote: > Hey guys, I am having issues while using foreach... > > This is what I have in my Updates Controller and its working fine. > While outputting the data in views/updates/index, I am

Cakephp Foreach when using Joins

2012-02-26 Thread Ali Wasif
Hey guys, I am having issues while using foreach... This is what I have in my Updates Controller and its working fine. While outputting the data in views/updates/index, I am using foreach and I am not being echo out the users name from users table. Can anyone help me with the foreach statemen

Re: cakephp foreach

2010-01-08 Thread Jeremy Burns
It works just as in straightforward php: foreach ($array as $key): echo $key; endforeach; On 8 Jan 2010, at 08:01, Mann da wrote: > i want help about foreach in cakephp, > > thanxs > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related

Re: cakephp foreach

2010-01-08 Thread Pablo Viojo
Please elaborate your question. Regards Pablo Viojo pvi...@gmail.com http://pviojo.net ¿Que necesitas? http://www.needish.com On Fri, Jan 8, 2010 at 5:01 AM, Mann da wrote: > i want help about foreach in cakephp, > > thanxs > > Check out the new CakePHP Questions site http://cakeqs.org and h

cakephp foreach

2010-01-08 Thread Mann da
i want help about foreach in cakephp, thanxs 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@