mysql-点击注册报错:SQL报错
mysql_query(
"INSERT INTO tg_user (
tg_uniqid,
tg_active,
tg_username,
tg_password,
tg_question,
tg_answer,
tg_sex,
tg_face,
tg_email,
tg_qq,
tg_url,
tg_reg_time,
tg_last_time,
tg_last_ip
)
VALUES (
'{$_clean['uniqid']}',
'{$_clean['active']}',
'{$_clean['username']}',
'{$_clean['password']}',
'{$_clean['question']}',
'{$_clean['answer']}',
'{$_clean['sex']}',
'{$_clean['face']}',
'{$_clean['email']},'
'{$_clean['qq']}',
'{$_clean['url']}',
NOW(),
NOW(),
'{$_SERVER['REMOTE_ADDR']}'
) "
) or die('SQL执行错误'.mysql_error());
点击注册,报错:SQL执行错误Column count doesn't match value count at row 1
推荐阅读
-
SQL语句中含有乘号报错的处理办法
-
sql无效字符 执行sql语句报错解决方案
-
sql2000报错Successfully re-opened the local eventlog解决方法
-
为什么ASP中执行动态SQL总报错误信息?提示语句语法错误
-
C#中SQL参数传入空值报错解决方案
-
mysql执行sql文件报错Error: Unknown storage engine‘InnoDB’的解决方法
-
SQL2005打SP4补丁报错:无法安装Windows Installer MSP文件解决方案
-
SQL Server2005打开数据表中的XML内容时报错的解决办法
-
SQL Server 2005/2008 导入导出数据常见报错解决方法
-
SQL Server 2005建立新维护计划报错,未被识别为有效的连接管理器类型