Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $cursos = array(
- array('id_curso' => 1, 'nome' => 'Lógica de Programação'),
- array('id_curso' => 2, 'nome' => 'HTML, CSS e JS'),
- array('id_curso' => 3, 'nome' => 'Banco de Dados e SQL'),
- )
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Listagem de Cursos</title>
- </head>
- <body>
- <table border="1">
- <thead>
- <tr>
- <th>Id Curso</th>
- <th>Nome</th>
- </tr>
- </thead>
- <tbody>
- <!-- liste os dados dos cursos aqui -->
- <tr>
- <td></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement