Good afternoon what I want to do is get all the data that is entered in a textarea and in php to be able to separate them by lina jump and by coma
Like this:
I'm using codeigniter
$variablecontenedora = $this->input->post("contenedor");
the three rows are stored in the variable $ variablecontener.
Familia 01 , Grupo 01 , Descripcion 01
Familia 02 , Grupo 02 , Descripcion 02
Familia 03 , Grupo 03 , Descripcion 03
and I want to spread it this way
the first row:
$fila_1 = Familia 01 , Grupo 01 , Descripcion 01;
then the data of that variable I want to separate them by the commas
$coma_1:Familia 01;
$coma_2:Grupo 01;
$coma_3:Descripcion 01;
and so on with the other rows that are in the texarea
The number of columns is exact, only 3 will be.
The rows are indeterminate