Voting starts in March for the Drupal Association Board election.
I would like to create a select dropdown form and send information in a POST variable.
What do I set action=""?
I've tried action=
I have the code:
<form action=<?php current_path(); ?> method="POST"> <select name="status"> <option value="available">Available</option> <option value="sold">Sold</option> <input type="submit"/> </select> </form> <?php $product_status = $_POST['status']; echo $product_status; ?>
but nothing is showing for $product_status.
How do I send a POST variable?