为你而来

2012年6月13日

php复习:字符串函数

摘要: substr_replace($str,$relacement,$index,$length);substr_count("hello world","e");substr_count("hello world" ,"e",5,5);strpos($str,$replacement);stripos($str,$replacement);//不区分大小写strlen();str_word_count($string);//计算单词的个数str_word_count($string,1);//返回各个单词为元素的数组 阅读全文

posted @ 2012-06-13 20:42 为你而来 阅读(108) 评论(0) 推荐(0) 编辑

javascript:网站后台菜单特效

摘要: 1 <html> 2 <head> 3 <title>1</title> 4 <style type='text/css'> 5 #box{ 6 width:200px; 7 border:dashed 1px green; 8 float:left; 9 }10 h5{11 font-weight:normal;12 text-align:center;13 font-size:14px;14 color:#333333;15 line-height:25px;16 margin:0px;17 clear:bo... 阅读全文

posted @ 2012-06-13 11:21 为你而来 阅读(1089) 评论(0) 推荐(0) 编辑

导航