Filter the first result of the PHP function explode and present in a structure

0

How can I delete the first result of the explode. Converting to array , $separa[0]; can filter, but with difficulty to delete it from the foreach structure.

Example:

$separa = explode(",", $row['referencia']);  

$separa[0]; //obtenho o primeiro resultado

foreach($separa as $ref ) : 

      echo$ref; //imprimir sem o $separa[0]; (primeiro resultado)
;
    
asked by anonymous 22.03.2016 / 22:06

1 answer

2

Try:

unset($separa[0]);

And do the foreach

    
22.03.2016 / 22:13