whynotgoontuesday:php程序 截取问题

来源:百度文库 编辑:高校问答 时间:2024/05/11 14:26:32
类似asp的这种写法<%=left(rs("title"),20)%>

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