The CodeIgniter User Guide shows how to do this.
Do this, otherwise go by the User Guide and start over.
PHP Code:
// change this
public function drinkadvert()
// to this
public function do_upload()
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )