Re:[PHP-DB] Error radio buttons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<?php

$variable = $_POST['R']  ;  <---

 if ($variable == 3) {
          echo   "Score 1";

          }
          else {
          echo  "Score 0";

          };

?>

Original code didn't get radio check box's value.
You can use $_POST[ ] .

-- 
Yasuhiro Saito

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux