Welcome Guest, Not a member yet? Register   Sign In
unable to display values from array in a view
#4

Your query is asking for:
PHP Code:
->select('payment_amount', 'payment_description','payment_student'); 

But your array is not showing those indexes. I do not understand why not.

You have a missing index 'payment_description'. In the error message, where is it indicating this is an issue, as if it does not exist in your database I am not certain how the query would run in the first place. Is it in the model, the controller or the view?

Perhaps you are fiddling with the code between pastes, but the query string you posted is different as it is not selecting 'payment_description', so where did that come from?

Paul.
Reply


Messages In This Thread
RE: unable to display values from array in a view - by PaulD - 11-25-2017, 11:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB