Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Upload::get_errors()
Sibin
May 2016
Hi .,
I am checking error constants using the following code.,
foreach(Upload::get_errors() as $file)
{
}
I printed the $file in my page ., but it is display only one element '1'.,
How to fetch error messages by using get_errors() method?
Give me an example
Thanks in advance.,
Harro
May 2016
I don't really see how
Upload::get_errors() can return anything other than an array.
What does it contain if in your code you do:
var_dump(
Upload::get_errors());
die();
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
May 2016