Home > Article > Backend Development > php查询mysql多个表字段解决方法
php查询mysql多个表字段
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->SELECT id,channel,title FROM teble1 WHERE id='$id'
SELECT t1.id,channel,title,t2.name,t2.tel FROM teble1 as t1, table2 as t2 WHERE t1.id='$id' <br><font color="#e78608">------解决方案--------------------</font><br>