!= || != || != always returns true?
Posted: Wed May 02, 2007 10:39 pm
For some reason this code is always returning true (and echoing) even when I make a request like index.php?audio=2 on the page. What am I doing wrong here?
Code: Select all
<?php
if ($_GET['audio'] != "0" || $_GET['audio'] != "1" || $_GET['audio'] != "2")
{echo 'if you requested "index.php?audio=2" then this message should not appear';}?>