1. How do we include a PHP statement in an HTML file? 2

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

1. How do we include a PHP statement in an HTML file? 2

Post by answerhappygod »

1. How do we include a PHP statement in an HTML file?
<?php $a=10 ?>
<? php $a=10 ?>
<! php $a=10 !>
<! php $a=10 !>
2. What symbols can be used for PHP comment?
//
/* */
#
All of the above.
3. What is the word "style" called in <body
style=’color : green’>?
Entity
Attribute
CSS property
None of the above
4. Which of the following PHP statement can appear in an
if-statement if $variable is a string of characters, e.g.,
$variable contains “Test” prior to the if-statement?
if($variable = "test") echo "OK";
if($variable == "test") echo "OK";
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply