Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="sell.php" method="post">
- <fieldset>
- <div class="form-group">
- Stock:
- <select name = "stock">
- // stocks is an array passed through render from the controler with the symbol of every stock
- <?php foreach($stocks as $stock):?>
- <option value = <?= $stock ?>> </option>
- </div>
- <?php endforeach ?>
- </fieldset>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement