Code: Select all
elseif ($HTTP_GET_VARSї'sn'] == FALSE) || ($HTTP_GET_VARSї'sn'] == "HTTP://") {
die("Could Not Get ScreenName");
}Moderator: General Moderators
Code: Select all
elseif ($HTTP_GET_VARSї'sn'] == FALSE) || ($HTTP_GET_VARSї'sn'] == "HTTP://") {
die("Could Not Get ScreenName");
}Your use of parenthesis and encapsulating your test is not syntactically sound. The edit below should work.Little Spy wrote:this gives me an error why?Code: Select all
elseif ($HTTP_GET_VARSї'sn'] == FALSE) || ($HTTP_GET_VARSї'sn'] == "HTTP://") { die("Could Not Get ScreenName"); }
Code: Select all
<?php
if($blah) {
//something
} elseif (($HTTP_GET_VARSї'sn'] == FALSE) || ($HTTP_GET_VARSї'sn'] == "HTTP://")) {
die("Could Not Get ScreenName");
}
?>Code: Select all
if () || () { }Code: Select all
if ( () || () ) { }