语法错误,INSERT命令上的意外T_STRING [英] syntax error, unexpected T_STRING on INSERT command

查看:125
本文介绍了语法错误,INSERT命令上的意外T_STRING的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我上传了一个文件,现在正试图将其存储在数据库中。我得到一个解析错误:语法错误,意外的T_STRING下面这一行的错误:

展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号

解决方案


我上传了一个文件,现在正尝试将其存储在数据库中。我得到一个解析错误:语法错误,意外的T_STRING下面这行错误:


INSERT INTO gallery(user_id,image_name)

VALUES(


RecordsetUserID,UPLOAD_DIR

_SESSION [ '' MM_Username ''] ''/ ''。

I have uploaded a file and am now trying to store it in a DB. I am getting a "Parse error: syntax error, unexpected T_STRING" error on this line below:

Expand|Select|Wrap|Line Numbers

解决方案

I have uploaded a file and am now trying to store it in a DB. I am getting a "Parse error: syntax error, unexpected T_STRING" error on this line below:

INSERT INTO gallery (user_id, image_name)
VALUES (


RecordsetUserID, UPLOAD_DIR.


_SESSION[''MM_Username''].''/''.


这篇关于语法错误,INSERT命令上的意外T_STRING的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆