I am using array_diff() to seperate an array that holds values that another doesnt. My problem is when it creates the new array, the new array doesnt start from zero.

Array
(
    [0] => gat1
    [1] => gave2
    [2] => gaveshE
    [3] => google
    [4] => toogle
    [5] => boogle
)

Array
(
    [0] => gat1
    [1] => gave2
    [2] => gaveshE
)

Array
(
    [Tag] => Array
        (
            [3] => google
            [4] => toogle
            [5] => boogle
        )

)

as you can see, the third array starts with 3, 4 , 5. instead of 0, 1, 2 . is it possible to reset it ??

    Write a Reply...