最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

wpdb discards duplicate column names?

programmeradmin0浏览0评论

using $wpdb->get_results I am joining two tables that have some columns in common, now normally I would expect to get table_a.one and table_b.one both returned, but instead I get only one returned which is the value for table_b.one in the position of table_a.one

Is there a way around this or am I forced to avoid using $wpdb?

Edit: I need the column names.

发布评论

评论列表(0)

  1. 暂无评论