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";
1. How do we include a PHP statement in an HTML file? php $a=10 ?> 2
-
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? php $a=10 ?> 2
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!