用文本装饰回显数据

时间:2013-01-13 12:48:00

标签: php mysql text-decorations

我想显示或回显我的php mysql数据,文字装饰如下划线或带有css / html的虚线

1 个答案:

答案 0 :(得分:2)

<p style="text-decoration:underline;">
<?php echo $text ?>
</p>

无论如何你可以使用CSS。如果这没有用,请告诉我你使用echo的示例代码。