Welcome Guest, Not a member yet? Register   Sign In
Weird problem with view page
#1

[eluser]Rubiz'[/eluser]
Hi all!

I have a folder admin inside views, and a page called "show_table_view.php".

I have a controller called "show_table_info.php" and a function "show_tables($area)", where area is the table I want to edit.

This class and yhis function are being called right, but it cant show the view page. Isn't weird? It returns me 404 error...

My switch statement:
Code:
case 'banner_flash':
            $data = array(
                    'id_principal' => $banner_flash->id_principal,
                    'img' => $banner_flash->img,
                    'frase' => $banner_flash->frase,
                    'link_' => $banner_flash->link_
                    );
            $this->load->view('admin/show_table_view', $data);
            break;

Any idea?
#2

[eluser]Rubiz'[/eluser]
Oh my God, sorry, it actually would be very weird if it works, cause I forgot about class name in url call...

ui ui ui!!!
Sorry Smile




Theme © iAndrew 2016 - Forum software by © MyBB