一个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';没仔细看就引用了不好意思 switch和 if..else哪个快? 问一个简单加减运算。。。。 sql语句正确但找不到记录 如何判断该文件是否存在? phpbb的模板,里面有没有缓存部分? 有上传过php+mysql网站的人吗? 求救 谁能教小弟用PHP+MySQL建一个语音聊天室,给1000分,UP也有分!! 给PHP版朋友们的一封公开信! 不使用mysql_num_rows得到rows的数量该怎么做 从MYSQL数据库查询多个无联系的数据表的记录 <****>一个PHP的查询后插值的小问题,,请大家指教:)
$result=$this->testSqli->query('delete from test1,test2 where test1.id=test2.id and test1.id='.$test);"