06 2013 档案
PHP 函数
摘要:字符串函数: 1 $name = "fakeface";2 $myname =substr($name,0,3);//输出前面三个字符 fak3 print $myname;4 $name = strtoupper($name); //小写5 print $name;6 $name = strtolower($name);、、大写7 print $name;8 $position = strpos($name,"c");//输出c的位置9 print $position;View Code 数学函数: 1 $n... 阅读全文
posted @ 2013-06-30 13:35 Linuxroot 阅读(345) 评论(0) 推荐(0) 编辑
数据库
摘要:CREATE TABLE articles( id smallint unsigned NOT NULL auto_increment, publicationDate date NOT NULL, # When the article was published title varchar(255) NOT NULL, # Full title of the article content mediumtext NOT NULL, # The HTML content of the article PRIMARY KEY (id)); 阅读全文
posted @ 2013-06-06 16:13 Linuxroot 阅读(98) 评论(0) 推荐(0) 编辑
CSS
摘要:.用于类 #用于IDDIV:border-radius:5px;font-weight: bold;P:display: inline;position: relative;margin-left: 138px;pseudo-class selector <a></a>a:hover {color: #cc0000;font-weight: bold;text-decoration: none;}a:link: An unvisited link.a:visited: A visited link.a:hover: A link you're hovering 阅读全文
posted @ 2013-06-05 18:06 Linuxroot 阅读(110) 评论(0) 推荐(0) 编辑
HTML DIV标签
摘要:1 //创建四个DIV 分别有宽,高,背景颜色 2 <div style="width:50px; height:50px; background-color:red"></div> 3 4 <div style="width:50px; height:50px; background-color:blue"></div> 5 6 <div style="width:50px; height:50px; background-color:green"></div> 阅读全文
posted @ 2013-06-05 16:42 Linuxroot 阅读(163) 评论(0) 推荐(0) 编辑
HTML 表格
摘要:1 <table border="1px"> //创建一个表格 有边框 2 <tr> //创建一行 3 <td></td> //行内的内容 4 <td></td> //行内的内容 5 6 </tr> 7 <tr> //创建一行 8 <td></td> //行内的内容 9 <td></td> //同上10 </tr>11 12 </table>border-collapse:collapse; //表格的边框是 阅读全文
posted @ 2013-06-05 16:29 Linuxroot 阅读(134) 评论(0) 推荐(0) 编辑
HTML 基础review1
摘要:字体风格:font-size:12px; //字体大小color:red; //字体颜色front-family:Garamond; //字体其它:background-color:brown; //背景颜色text-align:center; //文本的位置 左 中 右<strong></strong> //加粗字体<em></em> //倾斜字体 阅读全文
posted @ 2013-06-05 16:21 Linuxroot 阅读(91) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示