Welcome Guest, Not a member yet? Register   Sign In
Best practice for display uploading errors
#1

[eluser]Unknown[/eluser]
Hi ppl,


My question is:

When I use the File Uploading Class in my Model, what is the best way for me to display uploading error message to the View? Should I just return an array of errors from function inside the Model, or should I create the upload functions at Controller? Which way is the best practice?

Thanks for your help!

I really appreciate it!

Regards,






Theme © iAndrew 2016 - Forum software by © MyBB