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=

<?php
current_path
();
?>

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?
Thanks

Comments

Title:sent a POST variable what to set for action=""?POST variable what to set for action=""?