'); if ( preg_match_all("#]*>(\d+)#is", $tr[1], $tds , PREG_SET_ORDER) ) { $a[] = ''; } } $a = array_unique( $a, SORT_REGULAR ); $a[] = preg_replace( '#([^>]+?)>(.+)#', '$1 selected="selected">$2', array_pop( $a ) ); $s = '' . "\n"; } echo ( $s ); ?>
1
1
2
3