Welcome Guest, Not a member yet? Register   Sign In
user profile

(This post was last modified: 04-09-2017, 11:04 AM by ciadmin.)

i can't upload a photo and save into my databse
my controller is

defined('BASEPATH') OR exit('No direct script access allowed');

class Main extends CI_Controller {
public function __construct() {

    // Load form helper library

    // Load session library

    // Load database

public function index(){

public function save(){


private function do_upload(){

return $url;
return "";


What error message are you getting?

ps - edited your post, adding code tags so it would not be TL;DR

Theme © iAndrew 2016 - Forum software by © MyBB