How can i use "if" with or. In the () i want to be able to do an or, such as if($name=="" OR $text=="") {} else {}
is it a comma, or is that for "and"?
if(($name=="") OR ($text=="")) {} else {}
is that what you mean?
if(($name=="") || ($text=="")) {} else {}
or
if(($name=="") or ($text=="")) {} else {}