Welcome Guest, Not a member yet? Register   Sign In
Possibly bug or incorrect code?
#7

(07-05-2017, 05:44 AM)cyborg Wrote:
Quote:First of all, it's not good practice to put database actions inside a view.

I accept this fact that putting database actions inside a view is bad, but i've tried in model and then i was investigating the issue, but the same as i was having experience in the model.

I will try this and will see.

You could also try using var_dump(); on the query result.
Reply


Messages In This Thread
Possibly bug or incorrect code? - by cyborg - 07-04-2017, 02:36 PM
RE: Possibly bug or incorrect code? - by Wouter60 - 07-04-2017, 10:42 PM
RE: Possibly bug or incorrect code? - by rtenny - 07-05-2017, 01:15 AM
RE: Possibly bug or incorrect code? - by cyborg - 07-05-2017, 05:44 AM
RE: Possibly bug or incorrect code? - by John_Betong - 07-05-2017, 06:54 PM
RE: Possibly bug or incorrect code? - by Wouter60 - 07-05-2017, 10:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB