摘要: 以下例子主要是实现简单的mysq 定时作业 1、在mysql 中建立一个数据库 test1 语句:create database test12、创建表examinfo create table examinfo(id int auto_increment not null,endtime datetime,primary key(id));3 插入数据: insert into examinfo values('1','2011-4-23 23:26:50');4 创建存储过程test CREATE PROCEDURE test () BEGIN update 阅读全文
posted @ 2011-04-23 23:40 月亮的影子 阅读(2274) 评论(0) 推荐(0) 编辑
摘要: 在终端用cd 命令进入文件目录说明:此处例子我是拿项目中的一个例子讲解的。1、新建一个项目 :用终端输入:zf create project Airline 格式:zf create action project project-name 备注:这些格式可以在终端输入zf 查看2、新建一个action :zf create action dirgramshow index 格式:zf create action action-name controller-name3、新建一个 model :zf create db-table flightinformationaction 层代码:inde 阅读全文
posted @ 2011-04-23 22:49 月亮的影子 阅读(479) 评论(0) 推荐(0) 编辑