Q:

What will be the output of the following php code?

belongs to collection: ARRAYS AND FUNCTIONS IN PHP MCQ

0

What will be the output of the following php code?

<?php
    $states = array("karnataka" => array
    ( "population" => "11,35,000", "capital" => "Bangalore"),
    "Tamil Nadu" => array( "population" => "17,90,000",
    "capital" => "Chennai") );
    echo $states["karnataka"]["population"];
    ?>

  1. karnataka 11,35,000
  2. 11,35,000
  3. population 11,35,000
  4. karnataka population

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(b).11,35,000

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

ARRAYS AND FUNCTIONS IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which function will return true if a variable is a... >>
<< Which of the following are correct ways of creatin...