Jump to content

Not getting select value


Vivid Lust

Recommended Posts

Heres part of the form:

 

<select name="gender">
  <option value ="Unknown" name="unknown">Unknown</option>
  <option value ="Male" name="male">Male</option>
  <option value ="Female" name="female">Female</option>
</select>

 

Heres parts of the php:

 

<?php
$gender = $_post['gender'];
?>

 

<?php
echo $gender;
?>

 

However nothing is echoed...... Any help please??? This is really frustrating!

 

Link to comment
https://forums.phpfreaks.com/topic/122514-not-getting-select-value/
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.