"Teste Taynara"
Bootstrap 3.1.0 Snippet by vivianeFurtado

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html> <head> <title>Cadastro de post</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="./static/twitter-bootstrap/css/bootstrap.css" rel="stylesheet"> <link href="./static/estilo.css" rel="stylesheet"> </head> <body> <div id="main"> <h1>Listagem de posts</h1> <table class="table table-striped"> <thead> <tr> <th>#</th> <th>Nome</th> <th>Resumo</th> <th></th> </tr> </thead> <tbody> <?php foreach($dados['posts'] as $post) { ?> <tr> <td><?php echo $post['id']; ?></td> <td><?php echo $post['nome']; ?></td> <td><?php echo $post['resumo']; ?></td> <td></td> </tr> <?php } ?> </tbody> </table> </div> </body> </html>

Related: See More


Questions / Comments: