数据库设计
本教程展示一个是分类表,一个是新闻表
1,分类表的创建
表名:type
create table type(
id int(11) not null primary key auto_increment,
typename varchar(255) ,
orderid int(11) ,
fid int(11))
CHARSET=utf8;

2,新闻表的创建
表名:news
create table news(
id int(11) not null primary key auto_increment,
typeid int(11) not null ,
title varchar(255),
source varchar(255),
picurl varchar(255),
content text ,
posttime int(11))
CHARSET=utf8;

新建文件
<?php
echo "数据库的设计";
预览
Clear
- 课程推荐
- 课件下载
课件暂不提供下载,工作人员正在整理中,后期请多关注该课程~ 















