I have a problem to get values from single square brackets array. Getting this
//$_POST["values"] == ["val1","val2","val3"]
$val = $_POST["values"];
I want something like:
foreach( $val as $value ) {
$valget = $value;
//need to get all values like $valget = "val1";
}
Thank you very much!
UPDATE:
What Im trying to get? Values passed as $_POST from filemanager
How I want to proceed? I wnat for each every result of post save into database
And still saving all as array into database to single row, I need for each record new row.