Welcome Guest, Not a member yet? Register   Sign In
How to troubleshoot code in a model?
#4

[eluser]35mm[/eluser]
I haven't been able to echo anything from models? In the end I had to pass back a string to the controller and show it in the view, and move the string about until I found the fail point (which was a miss named var). Obviously being able to simply echo would be a lot easier! So how comes echoing from model doesn't work for me?

Thanks for the tips on unit testing and profiling!



Messages In This Thread
How to troubleshoot code in a model? - by El Forum - 02-14-2013, 12:27 AM
How to troubleshoot code in a model? - by El Forum - 02-14-2013, 01:39 AM
How to troubleshoot code in a model? - by El Forum - 02-14-2013, 02:47 AM
How to troubleshoot code in a model? - by El Forum - 02-14-2013, 03:01 AM
How to troubleshoot code in a model? - by El Forum - 02-14-2013, 03:06 AM
How to troubleshoot code in a model? - by El Forum - 02-14-2013, 03:21 AM
How to troubleshoot code in a model? - by El Forum - 02-14-2013, 03:53 AM
How to troubleshoot code in a model? - by El Forum - 02-14-2013, 04:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB