What you have will only show 1 radio button. There are two things I have for you:
1.) Watch the comparison operators: = sets a value, == compares it, === strictly compares it.
The other is this: If you're just checking to see what's checked and what's not, then do this:
<?php
$sexes = array('S'=>'Stallion', 'M'=>'Mare', 'G'=>'Gelding'); // Holds all the horse sex info
$output = ''; // Empty the output var, so we start from scratch :)
foreach($sexes as $var=>$sex)
{
$output .= '<input type="radio" name="Sex" value="'.$var.'"';
$output .= ($var == $arrHorse['horse_sex'])?'checked="checked"':'';
$output .= '>'.$sex.' <br>';
}
echo $output;
?>
That should give you what you want.
~Brett