……

Warning: Use of undefined constant id - assumed 'id'

Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in

解决办法

主要原因是书写不规范导致的错误

如:将$_GET[id] 改为 $_GET['id'] 或者 $_POST[id] 改为 $_POST['id']

posted @ 2020-06-22 10:14  十零  阅读(2540)  评论(0编辑  收藏  举报