Notice: Use of undefined constant submit - assumed 'submit'
来源:互联网 发布:淘宝店铺可以转让 编辑:程序博客网 时间:2024/05/22 12:46
Notice: Use of undefined constant submit - assumed 'submit' inD:\wamp\www\ECMS\insert\monitors.php on line 66
Notice: Undefined index: submit in D:\wamp\www\ECMS\insert\monitors.php on line66
1: if($_POST['submit']) 加一个判断条件,改为=>
if(isset($_POST['submit']) && $_POST['submit'])
2: 在开头加上
error_reporting(E_ALL & ~E_NOTICE); // 这句话表示提示除去 E_NOTICE 之外的所有错误信息
因为post数组是个空的array,而代码中的这种方法适用于的是提交以后。
0 0
- Notice: Use of undefined constant submit - assumed 'submit'
- Notice: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' in
- 微信支付Notice: Use of undefined constant CURLOP_TIMEOUT - assumed
- Notice: Use of undefined constant
- Notice: Use of undefined constant out - assumed 'out' in D:wampwwwdaoruindex.php on line 4解决办法
- Notice: Use of undefined constant user - assumed 'user' in E:\zendWorkspace\smarty_manage\configs\my
- Notice: Use of undefined constant INTL_ICU_VERSION - assumed 'INTL_ICU_VERSION' in D:\work\WWW\basic
- 微信支付Notice: Use of undefined constant CURLOP_TIMEOUT - assumed 'CURLOP_TIMEOUT' in
- 关于Notice: Use of undefined constant username - assumed 'username' in警告问题
- Notice: Use of undefined constant mysql_fetch_array - assumed 'mysql_fetch_array' in E:\wamp\wamp\w
- PHP Notice: Use of undefined constant
- PHP “Notice: Use of undefined constant ”
- Notice: Use of undefined constant ShareErrorsFromSession
- Notice: Use of undefined constant id
- PHP Notice: Use of undefined constant variable
- Notice: Use of undefined constant title - assumed 'title' in D:\wamp\www\99Pursey\left.php on line
- 避免出现"Notice: Use of undefined constant......"警告
- PHP 出现Notice: Use of undefined constant 的解决方案
- 将txt中的内容添加到数据库中
- 使python程序在Linux下一直运行
- Android 游戏开发之MediaPlayer、SoundPool以及AudioManager
- sAFghedsdgfs
- 如何在CSDN博客自定义栏目中添加“给我写信”
- Notice: Use of undefined constant submit - assumed 'submit'
- PHP 输出buffer控制
- Pig Distinct by fields
- maven入门教程
- PHP页面编码问题
- rw_semaphore
- cocos2dx 学习
- 排序算法系列-归并排序
- DOOV(朵唯) C1 最新miui刷机教程及usb调试限制破解