<?
//ะต้องการให้ขึ้นบรรทัดใหม่ ตัวอักษรที่ 60 ต้องเขียน wordwrap แทรก ยังไงคับ
$txt = "(Personality test II) Answers are for who you are now...... not who you were in the past. Have pen or pencil and paper ready. This is a real test given by the Human Relations Dept. at many of the major corporations today. It helps them get better insight";
$aa = strlen($txt);
$j = 0;
for($i = 0;$i<=$aa-60;)
{
$arr[$j] = substr($txt, $i,60).'<br>';
$str = $arr[$j];
echo $str;
$j = $j+1;
$i = $i+60;
}
?>