-
Jun022013
$list = $m->query(“select t.term_id,t.description,t.parent,c.*,t.count,t.term_taxonomy_id from wp_term_taxonomy as t inner join wp_terms as c on t.[......]
Read more
阅读全文
-
Aug152012
首先在需要调用数据的那个方法里面添加全局变量 $smcFunc
如:
global $context, $settings, $options, $txt, $scripturl, $modSettings,$smcFunc;
调用方法:
echo '
<ul cla[......]
Read more
阅读全文
-
Jul122012
首先看三幅图:差别大了。我之前不太理解 left join, right join 区别。现在和大家一起理解一下。
我用的sql语句是这样的:
SELECT `order`. * , `pay`.id
FROM `order`
left JOIN `pay` ON p[......]
Read more
阅读全文