<?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