How to select several?

0

I am trying to assign in the [0] in [1] in [2] and in the [3] for the variable id ... How do I do?

What I tried to do was this:

$id = $nas[0,1,2,3]
    
asked by anonymous 02.02.2016 / 01:11

1 answer

2
for ($i = 0; $i < count($nas); $i++) {
    $id = $nas[$i];
}
    
02.02.2016 / 01:14