CakePHP issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

CakePHP issue

Post by indian98476 »

i want to retrieve a dropdown menu id which i displayed in my views folder into my controller so i can write specific functionality for it...
lets say there is a drop down menu for months from Jan to Dec. I want my user to click on Jan and the sales for that specific month on the display screen...for this i defined my array variable of months in the file rent_projection.thtml in the views folder...now i want to access this variable in my controller's folder so that i can write the specific functionality for it.....
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Re: CakePHP issue

Post by Luke »

You kind of forgot to ask a question. What are you asking?
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

Re: CakePHP issue

Post by indian98476 »

sorry....the first line was my Q....and i got it working....
k i explain it here again...

i want to retrieve value from a drop down menu which is selected dynamically/on the fly....this value must be passed to my controller file(uses the cakePHP framework....MVC - model view controller)....so was thinking "how the hell do i pass it???" got it working now....the .js file should retrieve those values from the specific dropdowns and pass it through an ajax.updater() to the specified file as parameters to the file url....hope u got it how i did it... hey thanx guys for reading and trying for the issue...
Post Reply