Home > Backend Development > PHP Tutorial > 小弟我想从主网站调用wp里面的图片,应该怎么操作

小弟我想从主网站调用wp里面的图片,应该怎么操作

WBOY
Release: 2016-06-13 12:58:41
Original
815 people have browsed it

我想从主网站调用wp里面的图片,应该如何操作?
php做的网站,现在主站用一个数据库aa,其中一个栏目是wordpress做的,wp对应的数据库是bb,我现在想在主站中调用wp数据库中的数据,跨库调用,应该如何操作?
------解决方案--------------------
查询时指定表的所属库就是了,比如:
select * from test.tt ............

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template