Return False Blocking Multiple Messages |
On my upload function I have a if in_array in my multiple upload. And sets multiple error messages.
My problem now if I put return FALSE; It will stop the multiple messages from showing and only set one message. How can I solve this? Any ideas with examples thank you. PHP Code: public function upload($field = 'userfile') {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
Maybe something like this:
PHP Code: /**
(02-13-2016, 11:42 PM)skunkbad Wrote: Maybe something like this: I need to use the return false. Not sure what I should PHP Code: $this->error_stack
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Welcome Guest, Not a member yet? Register Sign In |