CodeIgniter Forums

Full Version: upload file error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Ram Krishna[/eluser]
i have a controller code for uploading file.
class Quote extends CI_Controller{
function index()
function quote()
   $this->load->library('upload', $config);
It is giving error-
A PHP Error was encountered

Severity: Notice

Message: Undefined property: Quote::$load

Filename: controllers/quote.php

the 12th line is
$this->load->library('upload', $config);

Line Number: 12