Which PHP function takes a string as a parameter and replaces all the newlines in it with the HTML
tag?

a. str_replace()
b. n12br()
c. htmlspecialchars()
d. trim()

b. n12br()

Computer Science & Information Technology

You might also like to view...

C++ implements polymorphism by waiting until run-time to determine which version of a function to use. This is also known as ______________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

12. If a base class has declared a function to be a virtual function, then does the derived class need to include the word virtual also?

What will be an ideal response?

Computer Science & Information Technology