摘要: <?php$sum = 0;if (!empty($_POST)) { $n = $_POST['num']; for ($i = 1; $i <= $n; $i++) { $sum = $sum + $i; } echo "<script>alert('1+2+..+$n=$sum')</scri 阅读全文
posted @ 2022-05-11 00:03 Lindseyyip 阅读(19) 评论(0) 推荐(0) 编辑