Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $postanski_uredi = array("43000"=>'Bjelovar', "23287"=>'Veli Rat', "23286" => 'Božava',"23291" => 'Sestrunj', "10454"=>'Krašić');
- ?>
- <html>
- <table border="1" > <tbody>
- <tr>
- <th>postanski broj</th>
- <th>mjesto</th>
- </tr>
- <?php
- foreach ($postanski_uredi as $key => $value) {
- echo "<td>$key</td>";
- echo "<td>$value</td>";
- }
- ?>
- </tr>
- </tbody> </table>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement