Jump to content

using this form.


seany123

Recommended Posts

so basically i have this form... but what i wanna do is have each of these hold another unique value called time or something... so when that option is selected i can echo or use the new time value... but im not sure where or how i add it.

 

<form method='POST'> 
<?php
                        echo "<select name='crimeid'> ";
		echo "<option value='1'>Organised theft [1 person]</option>";
		echo "<option value='2'>drug dealing [5 people]</option>";
		echo "<option value='3'>Weapon smuggling [10 people]</option>";
		echo "<option value='4'>Extort small business [15 people]</option>";
		echo "<option value='5'>Contract Killing [20 people]</option>";
		echo "<option value='6'>Human trafficking [25 people]</option>";
		echo "<option value='7'>Drug Smuggling [30 people]</option>";
		echo "</select>";
?>
</form>

Link to comment
https://forums.phpfreaks.com/topic/172282-using-this-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.