$uk_work = explode( "/", $SQL->Field["備考"] ); $array_max = count( $uk_work ); if ( $array_max > 1 ) { for( $i = 0; $i < $array_max; $i++ ) { $uk_biko .= $uk_work[$i] . "<br>"; } }