$string  = "11 22 33 44 55 66";

// " " 為要切割的基準點
$output = explode(" ", $string);

echo $output[0];      // 11
echo $output[1];      // 22
echo $output[2];      // 33
echo $output[3];      // 44
echo $output[4];      // 55
echo $output[5];      // 66

arrow
arrow
    全站熱搜

    dreamtails 發表在 痞客邦 留言(1) 人氣()