Warning: Use of undefined constant 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']

原文地址:https://www.cnblogs.com/wlei5206/p/13175503.html