Skip to content

Instantly share code, notes, and snippets.

@sonerb
Created May 29, 2016 16:23
Show Gist options
  • Save sonerb/37f43b6c49c7e1b07d9eafa9583467fc to your computer and use it in GitHub Desktop.
Save sonerb/37f43b6c49c7e1b07d9eafa9583467fc to your computer and use it in GitHub Desktop.
<form name="deneme" method="POST" action="?yolla">
<select name="s_deneme">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<select name="s_deneme2">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<input type="submit" name="gonder" value="Gönder">
</form>
<?php
if (isset($_GET['yolla'])) {
echo $_POST['s_deneme'];
echo "<br>";
echo $_POST['s_deneme2'];
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment