MCQs > IT & Programming > LAMP > Refer to the following declarations of the php variables: $company = 'ABS Ltd'; $$company = ', Sydney'; ?> Which is not a correct way of printing 'ABS Ltd , Sydney'?

LAMP MCQs

Refer to the following declarations of the php variables:

$company = 'ABS Ltd';

$$company = ', Sydney';

?>

Which of the following is not a correct way of printing 'ABS Ltd , Sydney'?

Answer

Correct Answer: echo "$company ${$company}";

Explanation:

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

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More LAMP MCQ Questions

search

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it