$f_contents = file("gender.txt"); $currentGender = $f_contents[rand(0, count($f_contents) - 1)]; ?>
print $currentGender; ?>