I have this code
$gameplayed = $_POST['game_played']; $T1S = $_POST['T1Score']; $T2S = $_POST['T2Score']; echo "$gameplayed - $T1S - $T2S"; if ($T1S == '0' and $T2S == '0' and $gameplayed = ""){ echo "Yes"; }
And the echo does " - 0 - 0" yes to does not echo Yes. Why?
I've got this, still no luck
$gameplayed = $_POST['game_played']; $T1S = $_POST['T1Score']; $T2S = $_POST['T2Score']; echo "$gameplayed - $T1S - $T2S"; if ($T1S == '0' && $T2S == '0' && $gameplayed = ""){ echo "Yes"; }
if ($T1S == '0' and $T2S == '0' and $gameplayed =[color=red]=[/color] ""){