Welcome Guest, Not a member yet? Register   Sign In
limitations with framework

I'm notices that is impossible try to call or load the url for each local view from the database unless that you create some function in your controll to determine what view load based on the URL from database. In this case i was talking about to dynamic menu from database. In natural languaje is more easy because i can write this
    $consulta = "select * from menu_enc where ref_submenu='1'";    
        if ($link=="NA")
            echo '<div class="menutitle"><B>'.$row["det_nombre_rol"].'</B></div>';
        else //si tiene link en el campo link, entonces al dar clic sobre la opcion lo ejecutar√°
            echo '<div class="menutitle"><a href="'.$row[" target="'.$row[">'.$row["title"].'</a></div>';   }

and automatically capture the view, if exist some method to call my local views from the database using MVC please tell me because i searched like crazy and i didn't find anything solution

Read up on base controllers.

You can use them if you need the same code executed for every controller you call.

Theme © iAndrew 2016 - Forum software by © MyBB