how to select valu of a dropdown for view in cakePHP?

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

how to select valu of a dropdown for view in cakePHP?

Post by indian98476 »

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?
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?

Post by indian98476 »

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....
User avatar
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?

Post by social_experiment »

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
Post Reply