i want to populate combo box with the session data ex:Name of user in the .ctp file,how to that .please explain me
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Given all the other questions, you have posed over the last couple of hours, I can really recommend, to do the 15 minutes blog tutorial on the cakephp site.
If you have the bare system already completed, go back and look deeper into it, you will find that there are combo boxes being automatically populated. You should be able to modify the code to your needs.
Maybe the
Controller::set()method, which can set view variables from the controller, can come in handy.If you follow this approach, many of your future questions will be answered.