这样做可以吗
来源:2-17 编程练习
昵称加载中__
2019-09-26 19:52:21
<?php $text2='<td bgcolor="red"width="100px"height="100px"></td>'; $text3='<td bgcolor="white"width="100px"height="100px"></td>'; $text4='<td bgcolor="#87ceeb"width="100px"height="100px"></td>'; $text1=<<<tabel <table border="0" width="300px" height="300px"bgcolor="white"> <tr> {$text2} {$text4} {$text2} </tr> <tr> {$text4} {$text3} {$text2} </tr> <tr> {$text2} {$text2} {$text4} </tr> </table> tabel; echo $text1;
1回答
好帮手慕查理
2019-09-27
可以哦~祝学习愉快!
相似问题