Have:
[0] => 0-3019
[1] => 0-3020
[2] => 0-1031
[3] => 0-3021
[4] => 0-1004
[5] => 0-3011
Want:
[0] => 3019
[1] => 3020
[2] => 1031
[3] => 3021
[4] => 1004
[5] => 3011
Not sure how to get rid of it, tried this.
Edit: Here is the code I've tried:
$files = array_keys($_FILES);
foreach ($files AS $f) {
$f = substr($f,2);
}
For some reason it works inside the forloop but isn't actually saving each element as the substring version of itself :(