消防安全知识答卷:php程序 截取问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/10 06:29:01
类似asp的这种写法<%=left(rs("title"),20)%>

<? echo $rs['title']?>
我需要取20个字
在php中如何写?