PHP代码:没有错误消息但无法正常工作。 [英] PHP code: No error message but not working.
本文介绍了PHP代码:没有错误消息但无法正常工作。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我没有出现错误消息,但以下代码未进入我的表tblsug的trialentry。代码如下:
I have no error message coming but the following code does not enter the trialentry into my table tblsug. The code is the following:
展开 | 选择 | Wrap | 行号
推荐答案
第9行是您的错误。尝试用它替换它:
Line 9 is your error. Try replacing it with this:
sql =" INSERT INTO tblsug(''2ma'')VALUES(''\''troialentry \ '''')" ;;
*确保复制/粘贴;有些asteriks''看起来像是引用
如果这不起作用,你至少应该得到一条错误信息,而不是什么。
sql = "INSERT INTO tblsug (''2ma'') VALUES (''\''trialentry\'''')";
*make sure to copy/paste that; there are some asteriks'' that look like quotations
If that doesn''t work, you should at the very least get an error message, instead of nothing.
我没有出现错误消息,但下面的代码没有进入我的表tblsug的trialentry。代码如下:
I have no error message coming but the following code does not enter the trialentry into my table tblsug. The code is the following:
展开 | 选择 | Wrap | 行号
这篇关于PHP代码:没有错误消息但无法正常工作。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文