Hi i am currently getting some data from my database table and printing it in my zend view. i want that data to be stored in an array instead of showing it in the view. can anyone please tell me how to do that in zend.
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.
Well if you are outputting it to the view then its already in a array?
if you have something like
Then just:
And everything is in $myDataArray. Or do you mean not as objects but a true array? Then add:
I suggest you post some code so we can help you better.