您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

创建appleid php桌面中心一 创建数据库

2025/6/18 13:17:43发布21次查看
这是小弟第一次写文章。不知道能不能发布呀。。我把程序写出来是想要大家参考一下。如果有哪位高手能改出更好的程序, 
请别忘了和我说一声呀。 :p 
源程序的演示页面在elong.oso.com.cn/desk/ 
第一步创建数据库: 
我们就以oso的数据库为列说明一下。 
先登入数据库。然后在点自己的的数据库名,就在左边。 
在输入命令那儿输入以下命令。 
create table jpg ( 
id int(8) not null auto_increment, 
url char(255) not null, 
mess char(100) not null, 
fromx char(50) not null, 
url1 char(255) not null, 
mess1 char(100) not null, 
fromx1 char(50) not null, 
url2 char(255) not null, 
mess2 char(100) not null, 
fromx2 char(50) not null, 
url3 char(255) not null, 
mess3 char(100) not null, 
fromx3 char(50) not null, 
primary key (id) 
); 
create table jpg1 ( 
id int(8) not null auto_increment, 
url char(255) not null, 
mess char(100) not null, 
fromx char(50) not null, 
url1 char(255) not null, 
mess1 char(100) not null, 
fromx1 char(50) not null, 
url2 char(255) not null, 
mess2 char(100) not null, 
fromx2 char(50) not null, 
url3 char(255) not null, 
mess3 char(100) not null, 
fromx3 char(50) not null, 
primary key (id) 
); 
create table jpg2 ( 
id int(8) not null auto_increment, 
url char(255) not null, 
mess char(100) not null, 
fromx char(50) not null, 
url1 char(255) not null, 
mess1 char(100) not null, 
fromx1 char(50) not null, 
url2 char(255) not null, 
mess2 char(100) not null, 
fromx2 char(50) not null, 
url3 char(255) not null, 
mess3 char(100) not null, 
fromx3 char(50) not null, 
primary key (id) 
); 
create table jpg3 ( 
id int(8) not null auto_increment, 
url char(255) not null, 
mess char(100) not null, 
fromx char(50) not null, 
url1 char(255) not null, 
mess1 char(100) not null, 
fromx1 char(50) not null, 
url2 char(255) not null, 
mess2 char(100) not null, 
fromx2 char(50) not null, 
url3 char(255) not null, 
mess3 char(100) not null, 
fromx3 char(50) not null, 
primary key (id) 
); 
create table jpg4 ( 
id int(8) not null auto_increment, 
url char(255) not null, 
mess char(100) not null, 
fromx char(50) not null, 
url1 char(255) not null, 
mess1 char(100) not null, 
fromx1 char(50) not null, 
url2 char(255) not null, 
mess2 char(100) not null, 
fromx2 char(50) not null, 
url3 char(255) not null, 
mess3 char(100) not null, 
fromx3 char(50) not null, 
primary key (id) 
); 
这些命令的意思是创建四个表来存放数据。这就代表图片的四个类。如果你要加类就可以多加表和改一下源程序。
以上就介绍了创建appleid php桌面中心一 创建数据库,包括了创建appleid方面的内容,希望对php教程有兴趣的朋友有所帮助。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product