über Tante Google wurde ich schlau:
// 2015-07-06 1..5 Tabellen unterscheiden
for ( $i=1; $i<6; $i++ ) {
$text = preg_replace('/ id=x /', ' id=x'.$i.' ', $text, 1);
}
Linuchs
über Tante Google wurde ich schlau:
// 2015-07-06 1..5 Tabellen unterscheiden
for ( $i=1; $i<6; $i++ ) {
$text = preg_replace('/ id=x /', ' id=x'.$i.' ', $text, 1);
}
Linuchs