You extract the part that you would like to use in more than one place, and implement that part as an element. Then include the element in each place that you would like to see it. Enjoy, John
On Nov 4, 6:34 am, abc <[email protected]> wrote: > Hi all, > > I have an add.ctp file, which will enable the user to add new entries, > there is another view.ctp file which will list all the existing > entries from the database. > How would I include these existing entries within the add view page, > So that user should be able to view the existing entries at the bottom > of the page when he is making a new entry from add page? > > Thanking you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
