1.使用AJAX一定需要PHP回传资料才会执行
2.很多次传进去console.log资料都没办法收到,搞到疯掉真正原因要在PHP前面增加
header('Content-Type: application/json; charset=utf-8');
才能转换成json格式(切记一定要加)
3.MySQL Workbench使用外部的键值(foreign key),透过MySQL Workbench传入MySQL发生Operation has completed with errors. Please see logs for details.的错误
4.解决办法将VISIBLE拿掉
5.因为MySQL8才会有VISIBLE