MCQs > IT & Programming > PHP > Why does this code trigger an error?

PHP MCQs

Why does this code trigger an error?

Answer

Correct Answer: The apostrophe needs to be escaped by a backslash to prevent it from being treated as the closing quote.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it