I made a flip a coin game. It consists of three rows. I want the flip number what the flip was and the coin. I have all except the name of the flip like (heads,tails) I am only getting the number that I set for the flip. How do I get the flip to say the word ‘heads’ for 0 or ‘tails’ for 1 instead of just 0 or 1. I tried to do it in an echo I still received the number.this is the code I have
[code]
CoinCoin
Coin
<?php echo "”. $count . “ | ”;” . $result . “ | ”;<img src=“tails.jpg” alt=“tails”> | ”;
?>
php [/code]