Thursday, February 3, 2011

Re: two ids in a view $id, $id

Thanks Tarique,...
but I don't think that's possible, ... I already have tables starts
with id
any other sujestion...?

On Feb 3, 3:41 am, "Dr. Tarique Sani" <tariques...@gmail.com> wrote:
> write the function signature of your show() as
>
> function show($groupId, $photoId) {
>   //write your code here using $groupId and $photoId
>
> }
>
> Strongly recommend you to brush up your basics of PHP (and programming
> in general) - the time spent will be well worth it
>
> Cheers
> Tarique
>
> On Thu, Feb 3, 2011 at 4:27 PM, chris...@yahoo.com <chris...@yahoo.com> wrote:
> > Hi guys,
> > having a problem to display two ids in a controller....
> > I need to display page having ids in a URL. ...
>
> > e.g. domain.com/index.php/groups/show/3/26
> > I need this to show photos (26, 27, 32, 35,... 41...) in groups 3, and
> > so on for group 4 (28, 29, 33...) and so on...
>
> --
> =============================================================
> PHP for E-Biz:http://sanisoft.com
> =============================================================

--
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 email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate