cakePHP issue
i have created a dropdownlist of values in a view....now i want to do a rent projection based on the selected values in the drop down. the drop down has values startmonths,stopmonths......so based on the value selected i want to call them in my new thtml view results file and display accordingly....
can anyone help me out?
how to select valu of a dropdown for view in cakePHP?
Moderator: General Moderators
-
indian98476
- Forum Commoner
- Posts: 78
- Joined: Tue Dec 15, 2009 3:24 am
-
indian98476
- Forum Commoner
- Posts: 78
- Joined: Tue Dec 15, 2009 3:24 am
Re: how to select valu of a dropdown for view in cakePHP?
working on someone's script mind you folks.!!!
now the problem i face is since i have written an array for startmonths and stopmonths as requested by the client for rent projection for particular period and passed through js the values to the php function....it works fine now......but now he wants to change the appearance of the front end again....it has got my mind boggling.....since the array i created for start and stop months wont get received in this new view file.....how do i call them? they wont even print out the selected value of checkbox here....
now the problem i face is since i have written an array for startmonths and stopmonths as requested by the client for rent projection for particular period and passed through js the values to the php function....it works fine now......but now he wants to change the appearance of the front end again....it has got my mind boggling.....since the array i created for start and stop months wont get received in this new view file.....how do i call them? they wont even print out the selected value of checkbox here....
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: how to select valu of a dropdown for view in cakePHP?
Could you please paste the code you are refering to?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering