I am trying to basically check 3 values and if they ALL the value "Not Available" then echo a cross, but otherwise echo a tick. I have the following code but it echos a cross even if the value is not "Not Available" if ($row_Allgames['systemlinkvs']=="Not Available" || $row_Allgames['systemlinkcoop']== "Not Available" || $row_Allgames['systemlinkcoopstory'] == "Not Available") { echo '<a href="http://www.xbox360multiplayergames.com/games/'.$cTitle.'"><img src="http://www.xbox360multiplayergames.com/images/cross.gif" alt="'.$row_Allgames['Name'].' does not have System Link Capablities" title="'.$row_Allgames['Name'].' does not have System Link Capablities" border="0"/></a>'; } else echo '<a href="http://www.xbox360multiplayergames.com/games/'.$cTitle.'"><img src="http://www.xbox360multiplayergames.com/images/tick.gif" alt="'.$row_Allgames['Name'].' has System Link Capablities" title="'.$row_Allgames['Name'].' does have System Link Capablities" border="0"/></a>' PHP: I am lost
Here is he correct code if ($row_Allgames['systemlinkvs']=="Not Available" && $row_Allgames['systemlinkcoop']== "Not Available" && $row_Allgames['systemlinkcoopstory'] == "Not Available") { echo '<a href="http://www.xbox360multiplayergames.com/games/'.$cTitle.'"><img src="http://www.xbox360multiplayergames.com/images/cross.gif" alt="'.$row_Allgames['Name'].' does not have System Link Capablities" title="'.$row_Allgames['Name'].' does not have System Link Capablities" border="0"/></a>'; } else echo '<a href="http://www.xbox360multiplayergames.com/games/'.$cTitle.'"><img src="http://www.xbox360multiplayergames.com/images/tick.gif" alt="'.$row_Allgames['Name'].' has System Link Capablities" title="'.$row_Allgames['Name'].' does have System Link Capablities" border="0"/></a>' PHP: