johnecollins
asked on
Incomplete arrays passed from controller to view in Codeigniter
I have a Codeigniter application that is not receiving complete data in the view.
I have a report function in my controller that calls the model to create an array to pass to my view.
The array looks complete when I var_dump it in the model however it is truncated in the view is there a constraint or limit that I have not set or being imposed on the length of parameters?
Thank you
John
I have a report function in my controller that calls the model to create an array to pass to my view.
The array looks complete when I var_dump it in the model however it is truncated in the view is there a constraint or limit that I have not set or being imposed on the length of parameters?
Thank you
John
Can you post your code?
ASKER
Thanks Loganathan,
Here it comes ;-)
Here it comes ;-)
ASKER
Loganathan,
The Controller, the model, the view and the output
Looking at the output in the controller it doesn't display the array in full
But in the view it says Undefined table data ;-(
Thanks for looking
John
books.php
Books-model.php
books-main.php
The-output.docx
The Controller, the model, the view and the output
Looking at the output in the controller it doesn't display the array in full
But in the view it says Undefined table data ;-(
Thanks for looking
John
books.php
Books-model.php
books-main.php
The-output.docx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Chris,
Thanks very much for your effort, you couldn't pm your phone number could you save me putting up questions ;-)
500 well earned points
Cheers
John
Thanks very much for your effort, you couldn't pm your phone number could you save me putting up questions ;-)
500 well earned points
Cheers
John
Thanks for the points :)
No go on the phone number - I don't always have the time to work on EE stuff, so by keeping it all within EE allows me to dip in and out when I have the time.
Besides, posting a question on here will get a good mix of experts to help you out.
No go on the phone number - I don't always have the time to work on EE stuff, so by keeping it all within EE allows me to dip in and out when I have the time.
Besides, posting a question on here will get a good mix of experts to help you out.
ASKER
Chris,
Cheers but if you see me in a pub I'll happily buy you a pint of beer ;-)
Thanks a lot
John
Cheers but if you see me in a pub I'll happily buy you a pint of beer ;-)
Thanks a lot
John
Sounds good :)