ERROR: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL`Clients` ( `name` VARCHAR(1000) NULL,`address` VARCHAR(1000) NULL,
这是一个相当基本的问题,我目前有两个表,在第二个表中,表A有一个外键列。表A:----------------2 Name2id Name Parent1 John 1
我的PHP脚本将Name1插入到表A中,mysql则插入id。我的PHP脚本需要将John插入到表B中,并将Parent设置为刚才插入的