Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form method="post">
- Country: <input type="text" name="country">
- <input type="submit" name="add" value="Add country">
- </form>
- <form method="post">
- City: <input style="margin-left: 33px" type="text" name="city">
- <span style="margin-left: 10px">of country: </span><input style="margin-left: 10px" type="text" name="cityCountry">
- <input type="submit" name="add" value="Add city">
- </form>
- <table style="border-style: dashed; border-color: #ff0000; padding: 10px">
- <?php foreach ($countriesTable as $country) : ?>
- <tr>
- <td><b><?php echo $country['id']; ?></b></td>
- <td><a href="<?php echo 'http://127.0.0.1:8000/countries/' . $country['id']; ?>"><?php echo $country['country']; ?></a></td>
- </tr>
- <?php endforeach; ?>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement