我下面有一个代码...
$subQuery = $this->db->select('postid')
->from('sp_tag_tbl')
->where("find_in_set('" . $userid . "', userid) <> 0")
->get_compiled_select();
echo '<pre>'; print_r($subQuery); exit;
将get_compiled_select嵌入\n
用作另一个查询的子查询时正在创建错误。请让我知道正确的使用方式。
该\n
嵌入由于Codeigniter
查询格式。我们需要传递FALSE
第三个参数以停止格式化。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句