hey, im sort of new to php, but I do understand the basics... I think 🙂
if ($game == "Quake3")
{
$game_pic = "images/q3.jpg";
}
else
{
$game_pic = "images/unknown.jpg";
}
now, I want the 'IF' statement to check if $game == "a-game", aswell as checking for 'Quake3', but not having to copy the whole If statement, and just changing 'Quake3'. Cheers for any help..