coolsail
中级会员
 
UID 74776
精华
0
积分 358
帖子 464
金钱 358 喜悦币
威望 0
人脉 0
阅读权限 30
注册 2006-6-9
状态 离线
|
[推荐阅读] 程序员好好的去处
<?php
$string = "list, list, THIS IS A LIST";
$arr = preg_replace("#(list)#i","<font color='#ff0000'>\\1</font>",$string);
print_r($arr);
?>
|  因为难,才好玩.
[img]http://www.phpchina.com/bbs/customavatars/11225.gif[/img]
|
|