-
What will be the value of the variable $input in the following PHP code?
<?php
$input = "Ajit<td>Gupta</td>you are really<i>Handsome</i>!";
$input = strip_tags($input,"<i></i>");
?>
-
- Error
- Ajit Gupta you are really Handsome!
- Ajit Gupta you are really Handsome
- Nothing
- None of these
Correct Option: B
Italic tags <i></i> might be allowable, but table tags <td></td> could potentially wreak havoc on a page.