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" <[email protected]> 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, [email protected] <[email protected]> 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
