So why does this display ALL of the echo’s instead of only the one that is correct with what ?rank= is.
[php]<?php
$rank = $_GET[‘rank’];
if ($rank == Airman+Basic) { echo "Airman Basic Image
"; }
if ($rank == Airman) { echo "Airman Image
"; }
if ($rank == afc) { echo "Airman First Class Image
"; }
if ($rank == Senior+Airman) { echo "Senior Airman Image
"; }
if ($rank == Staff+Sergeant) { echo "Staff Sergeant Image
"; }
if ($rank == Technical+Sergeant) { echo "Technical Sergeant Image
"; }
if ($rank == Master+Sergeant) { echo "Master Sergeant Image
"; }
if ($rank == First+Sergeant) { echo "First Sergeant Image
"; }
if ($rank == Chief+Master+Sergeant) { echo "Chief Master Image
"; }
if ($rank == First+Sergeant) { echo "First Sergeant Image
"; }
if ($rank == Command+Chief+Master+Sergeant) { echo "Command Chief Master Sergeant Image
"; }
if ($rank == Chief+Master+Sergeant+of+the+Air+Force) { echo "Chief Master Sergeant of the Air Force Image
"; }
if ($rank == Second+Lieutenant) { echo "Second Lieutenant Image
"; }
if ($rank == First+Lieutenant) { echo "First Lieutenant Image
"; }
if ($rank == Captain) { echo "Captain Image
"; }
if ($rank == Major) { echo "Major Image
"; }
if ($rank == Lieutenant+Colonel) { echo "Lieutenant Colonel Image
"; }
if ($rank == Colonel) { echo "Colonel Image
"; }
if ($rank == Brigadier+General) { echo "Brigadier General Image
"; }
if ($rank == Major+General) { echo "Major General Image
"; }
if ($rank == Lieutenant+General) { echo "Lietenant General Image
"; }
if ($rank == General) { echo "General Image
"; }
if ($rank == General+of+the+Air+Force) { echo "General of the Air Force Image
"; }
else {
echo “Something has gone wrong”;
}
?>[/php]