Correction status:qualified
Teacher's comments:
下面将展示代码及效果图
<?php $header="国产影剧"; $movies=['倚天屠龙记','在一起','如果可以这样爱']; ?> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="keywords" content=""> <meta name="description" content=""> <title><?php echo $header?></title> </head> <body> <ol> <?php foreach ( $movies as $movie):?> <li><a href=""><?php echo $movie;?></a></li> <?php endforeach;?> </ol> </body> </html>
点击 "运行实例" 按钮查看在线实例