Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $Data = "2016/05/09";
- $DataInicial = date("d/m/Y", strtotime($Data));
- $Pessoas = array(
- 0 => 'Anderson',
- 1 => 'Eduardo',
- 2 => 'Charles',
- 3 => 'Michel'
- );
- ?>
- <table class="TabelaZebrada">
- <tr>
- <td>Nome</td>
- <td>Data de Apresentação</td>
- </tr>
- <?php
- foreach($Pessoas as $Pessoa) {
- echo "
- <tr>
- <td>$Pessoa</td>
- <td></td>
- </tr>";
- }
- ?>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement