in the index.ctp, i can get view all the details of data for my customer table. I wan to have a function which let user to select view by company, when user select the company, i use javascript to get know the company id, but i got no idea how to sort the data view by the company id..
i wanted to just list out the data in the index.ctp when the user selected the company for view, all the data will have their own company, which just few company are provided. any idea to create this action?? by refreshing page and i get view the new list of data in index.ctp. thanks.
i am new to cakephp.