Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $users = array(
- 0=> array(
- 'Login'=>'Yauheni',
- 'Password'=>'Y24S12',
- 'Email'=>'iggy.model@gmail.com'
- ),
- 1=> array(
- 'Login'=>'Irina',
- 'Password'=>'I26S10',
- 'Email'=>'shakhovtsevairina@gmail.com'
- ),
- 2=> array(
- 'Login'=>'Maria',
- 'Password'=>'M13S09',
- 'Email'=>'maria.sauchanka@gmail.com'
- ),
- 3=> array(
- 'Login'=>'Iggy',
- 'Password'=>'N01L02',
- 'Email'=>'iggy@gmail.com'
- )
- );
- echo "<table border='1'>";
- echo "<tr>
- <th style='padding:5px 10px;'>Логин</th>
- <th>Пароль</th>
- <th>Эмэил</th>
- </tr>";
- for($index=0; $index
- <count($users);$index++){
- echo "<tr>";
- foreach($users[$index] as $v){
- echo "<td style='padding:5px 10px;'>$v</td>";
- }
- echo "</tr>";
- }
- echo "</table>";?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement