CREATE DATABASE homework;
USE homework;
# --------------------------------------------------------
#
# Table structure for table 'HWClass'
#
CREATE TABLE HWClass (
tid int(11) DEFAULT '0' NOT NULL auto_increment,
teacher text NOT NULL,
class text NOT NULL,
PRIMARY KEY (tid)
);
# --------------------------------------------------------
#
# Table structure for table 'HWLog'
#
CREATE TABLE HWLog (
id int(11) DEFAULT '0' NOT NULL auto_increment,
tid int(11) DEFAULT '0' NOT NULL,
duedate date DEFAULT '0000-00-00' NOT NULL,
assign text NOT NULL,
PRIMARY KEY (id)
);
# --------------------------------------------------------
#
# Table structure for table 'anecdotal'
#
CREATE TABLE anecdotal (
id int(11) DEFAULT '0' NOT NULL auto_increment,
stid int(11) DEFAULT '0' NOT NULL,
teacher text NOT NULL,
date timestamp(14),
comment text NOT NULL,
PRIMARY KEY (id)
);
# --------------------------------------------------------
#
# Table structure for table 'staff'
#
CREATE TABLE staff (
id int(11) DEFAULT '0' NOT NULL auto_increment,
teacher text NOT NULL,
username text NOT NULL,
PRIMARY KEY (id)
);
# --------------------------------------------------------
#
# Table structure for table 'studentid'
#
CREATE TABLE studentid (
stid int(4) DEFAULT '0' NOT NULL,
firstname text NOT NULL,
lastname text NOT NULL,
advisory text NOT NULL,
PRIMARY KEY (stid)
);
GRANT SELECT, DELETE, INSERT, UPDATE on homework.*
to homework@localhost;
INSERT INTO staff (teacher, username) VALUES ('Teacher', 'teacher');
没有合适的资源?快使用搜索试试~ 我知道了~
Homework报表系统
需积分: 50 106 下载量 50 浏览量
2001-04-08
00:00:00
上传
评论
收藏 7B GZ 举报
温馨提示
共34个文件
php:25个
pristine:3个
txt:2个
Homework报表系统是一个应用于学校的PHP/MySQL软件,教师可以交互输入,更新,删除家庭作业,学生和家长可以通过Web获得作业。
资源推荐
资源详情
资源评论
收起资源包目录
986721019homework1.1.tar.gz (34个子文件)
homework1.1
index.php 522B
config
footer.php 330B
config.inc.php.pristine 705B
about.php 635B
config.inc.php 705B
header.php 343B
layout.inc.php 139B
CREDITS 1KB
faculty
index.php 185B
config
footer.php 330B
config.inc.php.pristine 705B
about.php 635B
config.inc.php 705B
header.php 343B
layout.inc.php 139B
license.txt 819B
add.php 491B
teacher.inc.php 8KB
delete.php 270B
view.php 197B
database.txt 2KB
TODO 162B
CHANGELOG 515B
README 2KB
student
index.php 177B
config
footer.php 330B
config.inc.php.pristine 705B
about.php 635B
config.inc.php 705B
header.php 343B
layout.inc.php 139B
homework.php 58B
student.inc.php 2KB
view.php 197B
共 34 条
- 1
资源评论
普通网友
- 粉丝: 882
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功