<html><head><meta http-equiv="Content-Type" content="text/html; charset=big5"><title>FOR</title></head><body><?// 用來儲存連乘積$temp = 1;for ( $i=1; $i<=10; $i++ ) { $temp *= $i; echo "1 連乘到 $i 的結果:" . $temp . "<br>";}?></body></html>