一个SQL语句的问题 delete test1,test2 from test1,test2 where test1.id=test2.id test1.id='.$test试试 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 试试$result=$this->testSqli->query('delete from test1,test2 where test1.id=test2.id and test1.id='.$test);" $result=$this->testSqli->query('delete from test1 where id='.$test.';delete from test2 where id='.$test); 呵呵,正解,你忘记了写 and 不好意思看错了,上面看错了,应该是这样delete a ,b from a,b where a.id=b.id and a.id='c';没仔细看就引用了不好意思 新手学PHP 怎么用file_get_contents获取网站 初学表单相关的问题 PHP5的QQ群号码:8894982 一个关于正则表达式的问题 linux上的php问题 打不开PHP文件,是怎么回事?在apache下,而不是在IIS下的 求教:如何用php实现类似于word的“打印”功能? php大侠们,我的PHP编译出了问题,大家来看看(没有linux下工作的请。。) 请指点,php数组问题。 从MYSQL数据库查询多个无联系的数据表的记录 <****>一个PHP的查询后插值的小问题,,请大家指教:)
$result=$this->testSqli->query('delete from test1,test2 where test1.id=test2.id and test1.id='.$test);"