Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Upload::get_errors()
  • 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.,

  • 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();

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion