Saturday, 7 July 2018

Associate Array in PHP

<?php
$students = array();
$students[0] = array(
            'name' => 'Rahul',
            'course' => 'Dimplma in IT',
            'email' => "rahul@zixana.com"
            );

$students[1] = array(
            'name' => 'Priya',
            'course' => 'Dimplma in IT',
            'email' => "priya@zixana.com"
            );

foreach ($students as $key => $value) {
    echo $value['name'].' is enroled in '. $value['course'].' and has email id is '. $value['email'].'.';
    echo "<br>";
}

3 comments:

  1. Replies
    1. Big data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. big data projects for students But it’s not the amount of data that’s important.Project Center in Chennai

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Corporate TRaining Spring Framework the authors explore the idea of using Java in Big Data platforms.

      Spring Training in Chennai

      The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. Cloudi5 is the web design company in coimbatore. Building responsive websites according to the google recent updates. Cloudi5 offering digital marketing, Search engine optimization, Social media marketing, Landing page optimization, website redesign, web design, website maintaining, web development, creative app creation, School management software OR School ERP software, Google ads, banner designing, etc,

    ReplyDelete