how about this ? -
<?
$score=0;
if($_POST["question1"] == "a")
{
$score=$score+1;
}
if($_POST["question2"] == "b")
{
$score=$score+1;
}
?>
read some PHP tutorials FIRST ... ask questions later.
and i think : <input name="question1" value="a" type="radio"> should be
<input name="question1[]" value="a" type="radio"> but i;m not sure