里面有一个表add,使用 select * from add;
出现错误:[b]error 1064(42000):you have an error in your sql syntax; check
the manual that corresponds to your mysql server version for the right syntax to use
near 'add' at line 1[/b]
如果你有一张add的表,add在mysql是关键字,你查的时候写上 select * from 'add'
是反引号,不是单引号,应该是数字1键旁边那个。呵呵