• Monday , 20 May 2019

PHP & MySQL Tutorial – 13: Arrays

Code Canyon



Thanks for watching! Check out my other tutorials at: https://www.youtube.com/user/madhurbhatia89?feature=guide.

Original source

3d Ocean

Related Posts

10 Comments

  1. abdi bogoreh
    March 15, 2019 at 21:18

    <?php

    $arr=array(15,10,85.78,"Jim","Peter");

    echo $arr[3]; echo "<br />";

    echo $arr[0]; echo "<br />";

    $arr[1]=25;

    echo $arr[1]; echo "<br />";

    print_r($arr); echo "<br />";

    $myarray=array(8,10,15, array(19,23,28,30));

    //$myarr=(8,10,15,(19,23,28,30));

    echo $myarray[3][1]; echo "<br />";

    print_r($myarray);

    ?>

  2. abdi bogoreh
    March 15, 2019 at 21:18

    line 13 it is false $myarr=[8,10,15,[19,23,28,30]];

    change this

    $myarray=array(8,10,15, array(19,23,28,30));

  3. Costel S.
    March 15, 2019 at 21:18

    is this video recorded on fast forward or what, cause you are talking very fast!!!

  4. divya namdev
    March 15, 2019 at 21:18

    Whts the use of array inside array?

  5. samu8882
    March 15, 2019 at 21:18

    I made an array in an array within an array thats in an array which is in another array and thats in an array and thats in an array. Captain this

  6. Pradeep Kumar
    March 15, 2019 at 21:18

    change this
    $myarray=array(8,10,15, array(19,23,28,30));

    instead of
    $myarray=array[8,10,15, [19,23,28,30]];

    on line number 13.

  7. meresai bhole
    March 15, 2019 at 21:18

    ERROR IN LINE 13

  8. Mazhar Niaz
    March 15, 2019 at 21:18

    (y)

  9. Fawad K
    March 15, 2019 at 21:18

    hi,
    For line 12 I get an error message saying " Notice: Array to string conversion in C:wampwwwLearningArrays.php on line 12"

    on my note++, line 11 I have :
    $my=[0,1,2,3,[4,5]];

    and line 12: 
    echo$my[4],[1];

    I want it to display '5'

    Thanks for the help.

  10. GTrack
    March 15, 2019 at 21:18

    Good tutorials bro…..keep it up…(y)

Leave A Comment

You must be logged in to post a comment.