Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="index.php?view=inicio">Inicio</a><br>
- <a href="<?php echo URL ?>pagina1/">Pagina 1</a><br>
- <a href="<?php echo URL ?>pagina2/">Pagina 2</a><br>
- <a href="<?php echo URL ?>pagina3/gamez/datos/">Pagina 3</a> <<<--------
- <?php
- if (isset($_GET['variable'])){
- $views = explode('/', $_GET['variable']);
- include 'view/'.$views[0].'-view.php';
- }else{
- include 'view/inicio-view.php';
- }
Add Comment
Please, Sign In to add comment