Hi Rolf,
ich würde es so machen:
foreach($PT as $path) {
echo $nr.'. '.(substr ($path, 0, strpos ($path, '/', strpos($path, '/'))));
}
Ist allerdings ungetestet, vielleicht ist ne minimale Anpassung nötig.
Gruß
Franz
Hi Rolf,
ich würde es so machen:
foreach($PT as $path) {
echo $nr.'. '.(substr ($path, 0, strpos ($path, '/', strpos($path, '/'))));
}
Ist allerdings ungetestet, vielleicht ist ne minimale Anpassung nötig.
Gruß
Franz