Welcome Guest, Not a member yet? Register   Sign In
on adding value in database last values is repeated as many times as rows are in table.
#9

[eluser]TWP Marketing[/eluser]
I have the same problem, not yet solved.

But I think the list array created from the query->result array is not resetting it's pointer.

The inserted record is the last one (perhaps the only one?) in the query, and the array pointer may be set for the final array entry. Look for a prior loop which iterated through the array and left the pointer at the last entry.

Possible fix?
Check your code and perhaps unset() the query array and get() it again before loading the view?

If you find a cure, please post it here.


Messages In This Thread
on adding value in database last values is repeated as many times as rows are in table. - by El Forum - 05-28-2009, 12:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB