csolution.php

    public function netsolution(){

        $data = array(
            'networklarge' => base_url().'assets/images/network-large.jpg',
            'productcss' => base_url().'assets/images/product.css
        );

        $this->load->view('netsolution', $data);
    }

    public function systemsolution(){

        $data = array(
            'systemsolution'=>'Type your connection content here',
            'productcss' => base_url().'assets/images/product.css
        );

        $this->load->view('systemsolution', $data);
    }

Hi,

I receive error in this line:

Parse error: syntax error, unexpected 'netsolution' (T_STRING), expecting ')' in C:\xampp\htdocs\IndonusaCI\application\controllers\csolution.php on line 41

line 41:

    $this->load->view('netsolution', $data);

I wonder why?

Thanks before.

Member Avatar for LastMitch

Parse error: syntax error, unexpected 'netsolution' (T_STRING), expecting ')' in C:\xampp\htdocs\IndonusaCI\application\controllers\csolution.php on line 41

The error means you have an extra/left out apostrophe or the apostrophe is in the wrong place.

I assume you fixed it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.