Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

regmail邮箱验证插件正式版发布【重大更新】

[复制链接]
maxdesign 发表于 2008-11-27 18:05:39 | 显示全部楼层
问一下,在数据库添加 username  userpass 俩字段  类型 char 怎么添加啊?不会数据库!~
回复

使用道具 举报

wjunnet 发表于 2008-11-27 18:07:20 | 显示全部楼层
回复

使用道具 举报

 楼主| cgisky 发表于 2008-11-27 18:08:03 | 显示全部楼层
你可以把原来的数据库删了重新运行下安装文件

不行我改下升级文件
回复

使用道具 举报

maxdesign 发表于 2008-11-27 18:24:24 | 显示全部楼层
你改一下吧,我是完全不会操作的那种。 
回复

使用道具 举报

 楼主| cgisky 发表于 2008-11-27 18:30:41 | 显示全部楼层
你改一下吧,我是完全不会操作的那种。 
maxdesign 发表于 2008-11-27 18:24


你打开我那安装文件
在 if前面添加一句

  1. $_SGLOBAL['db']->query("drop table '".$_SC['tablepre'] ."regmail'");
复制代码
回复

使用道具 举报

maxdesign 发表于 2008-11-27 18:38:11 | 显示全部楼层
if 前面?
  1. if( $_SGLOBAL['db']->query("CREATE TABLE `".$_SC['tablepre'] ."regmail` (
复制代码

  1. $_SGLOBAL['db']->query("drop table '".$_SC['tablepre'] ."regmail'");
  2. if( $_SGLOBAL['db']->query("CREATE TABLE `".$_SC['tablepre'] ."regmail` (
复制代码


?这样搞?
回复

使用道具 举报

 楼主| cgisky 发表于 2008-11-27 18:40:02 | 显示全部楼层
对没错((mk03))
回复

使用道具 举报

maxdesign 发表于 2008-11-27 18:43:04 | 显示全部楼层
貌似不行哦~!
  1. MySQL Error
  2. Message: MySQL Query Error
  3. SQL: drop table 'uchome_regmail'
  4. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''uchome_regmail'' at line 1
  5. Errno.: 1064
  6. Click here to seek help.
复制代码
回复

使用道具 举报

 楼主| cgisky 发表于 2008-11-27 18:44:05 | 显示全部楼层
不好意思啊  我没测试  我去主机上试下
回复

使用道具 举报

maxdesign 发表于 2008-11-27 18:47:09 | 显示全部楼层
我觉得要不你在整个一个更新版吧,我都头晕了!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-1 14:09 , Processed in 0.110589 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表