MCQs > IT & Programming > PHP 5 > You wrote following script to check for the right category: 1 9 Correct category! 10 13 Incorrect category! 14 What will be the output of the program if value of 'cate' remains 5?

PHP 5 MCQs

You wrote following script to check for the right category:

1        <?php
2        $cate=5;
3        ...
4        ...
5        
6        if ($cate==5)
7        {
8        ?>
9          Correct category!
10        <?php
11        } else {
12        ?>
13          Incorrect category!
14        <?php
15        }
16        ?>

What will be the output of the program if value of 'cate' remains 5?



Answer

Correct Answer: Correct category!

Explanation:

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

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it