I am programming a little site for my sister, a simple web poll, which i would like to write the result later to a file.
but obviously this is not working for me...
http://24.2.166.147/nicole/pole.php
here is an example of a button i set up:
<form action="/nicole/pole.php" method="get">
<p align="center"><input type="radio" name="R1" value="black"></p>
so if you click that radio button it will pass http://24.2.166.147/nicole/pole.php?R1=black
so here is my code on the page the submit opens...
<html>
<body>
<br><br>
<?php
if (isset($POST['black']))
echo ("You choose black\r\n");
if (isset($POST['pink']))
echo ("You choose pink\r\n");
if (isset($_POST['navy']))
echo ("You choose navy!\r\n");
?>
</body>
</html>
but it gives nothing. what did i do wrong?