What is your name?

"; // If conditions // Used to control the flow of decision making /* Note: We use == instead of = to test equality. The = symbol is used to assign values to varables. thus, we don't want to use it to test whether a condition is true. */ if($pass == 1){ print "

Your name is $myname

"; }else{ print "

Please enter your name.

"; } /* General Structure of Condition Testing in PHP if($sex == "male"){ // Do something } else{ // Do something else } == is equal to != is not equal to < less than > greater than <= >= ! not && and AND and || or OR or XOR and not */ ?>