php中php代码中嵌入html代码的方式之一--------function name(){?>........<?php }

例子:

1 public function DisplayStyles()
2     {
3   ?>
5    <link rel="stylesheet" type="text/css" href="">
6   <?php 
7    }

猜你喜欢

转载自www.cnblogs.com/lx111/p/9197139.html