05 2012 档案

摘要:第一次分支时其实就是整个base.php文件的执行base.php这个文件了,它是PHPCMS框架入口文件,他引入了很多的函数库,如://加载公用函数库pc_base::load_sys_func('global');————公用函数库pc_base::load_sys_func('extention');————扩展库pc_base::auto_load_func();————自动加载的库上面的三个函数包含了三个分支文件分别是libs/functions文件夹下的 global.func.php, extention.func.php和autoload/plu 阅读全文
posted @ 2012-05-30 18:30 fsl 阅读(1290) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="454" height="219"><mx:HTTPService id="hs" url="mails.php" method="POST" sh 阅读全文
posted @ 2012-05-22 01:30 fsl 阅读(245) 评论(0) 推荐(0) 编辑
摘要:MySQL技术内幕mysql使用大全,可以说方方面面都包括了。认真研读大概一本就差不多了MySQL开发者SQL权威指南这本应该是mysql的sql天书了。学mysql的sql语句,本书必不可少,缺点是看着有点别扭。高性能MySQL高可用MySQL:构建健壮的数据中心上面这俩本应该是提级必备,我还没时间看完,但是确实是不错的书。登堂入室的书啊MySQL必知必会没有时间看大部头,快餐也是不错的,书的质量还是靠谱的MYSQL Cookbook属于格斗大全了,属于翻查类型的参考书深入浅出MySQL--数据库开发、优化与管理维护小清新类型的,方方面面都有涉及,浅出足够,深入吗,就不一定了。不过整体来说还 阅读全文
posted @ 2012-05-18 15:39 fsl 阅读(8059) 评论(3) 推荐(5) 编辑
摘要:1,数值类型2,字符串类型3,日期和时间4,ENUM和SET5,几何数据类型数据类型选项unsigned 无负值zerofill 数值显示有影响,会前置0来填充不足位数的数据auto_increment serial default value==声明auto_increment notnulltinyint -128----127smallint -32768----32767mediumint -8388608-----8388607int(integer) -2147483648----2147483647bigint -92233720368547758... 阅读全文
posted @ 2012-05-18 14:45 fsl 阅读(359) 评论(0) 推荐(0) 编辑
摘要:主键create table feng(teamno int not null,playerno int not null,division char(6) not null,primary key(teamno))create table feng(teamno int not nullprimary key,playerno int not null,division char(6) not null,)复合主键create table feng(teamno int not null,playerno int not null,division char(6) not null,prim 阅读全文
posted @ 2012-05-18 14:42 fsl 阅读(445) 评论(0) 推荐(0) 编辑
摘要:表创建create table mytbl(id int auto_increment not null,name char(10) not null,birth date not null,wight int,sex enum('f','m'));指定数据库引擎的表创建create table mytbl(id int auto_increment not null,name char(10) not null,birth date not null,wight int,sex enum('f','m'))engine=memo 阅读全文
posted @ 2012-05-07 15:45 fsl 阅读(936) 评论(0) 推荐(0) 编辑
摘要:数据库选定,数据库选定后依然可以使用其他数据库中的数据表,只要指定【数据库.数据表】即可use db_nameselect * from db_name.tbl_name显示所有数据库mysql> select schema_name from information_schema.schemata;+--------------------+| schema_name |+--------------------+| information_schema || feng || mysql |+--------------------+3 rows in set... 阅读全文
posted @ 2012-05-02 16:51 fsl 阅读(1104) 评论(0) 推荐(0) 编辑