Vidyalelo
PHP · Q8

HTML Forms Handling

Programming · PHP · question 8

Q8

What will be the value of the variable input in the following PHP code? Lawrence you are really pretty !"; input = strip_tags( input," "); ?>

A.
Swapna Lawrence you are really pretty!
B.
Swapna Lawrence you are reallypretty!
C.
Swapna Lawrence you are really pretty!
D.
Swapna Lawrence you are reallypretty!
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
Italic tags <i></i> might be allowable, but table tags <td></td> could potentially wreak havoc on a page.