PHP offers the following alternative syntax for while loops:
while
while(cond): // looped statements go here endwhile;
Note the colon after the end parenthesis and the semicolon after the endwhile statement.
endwhile
校長室 教務處學務處總務處輔導室家長會媒體報導 北小臉書北小附幼臉書課程計畫平台