Question: Which code option will produce an alert that says Learning PHP creates Pretty Happy People using PHP ! ? a . ) ; echo

Which code option will produce an alert that says Learning PHP creates Pretty Happy People using PHP!?
a.)
";
echo " var message ='". $message ."';";
echo " alert(message);";
echo "";
?>
b.)
";
echo " var message ='". $message ."';";
echo "";
?>
c.)
";
echo " var message ='" $message "';";
echo " alert(message);";
echo "";
?>
d.)
";
echo " var message ='". message ."';";
echo " alert(message);";
echo "";
?>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!