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']

相关文章: