Home  >  Article  >  Backend Development  >  thinkphp 关联查询有关问题

thinkphp 关联查询有关问题

WBOY
WBOYOriginal
2016-06-13 12:36:04890browse

thinkphp 关联查询问题
有两个表,一个是医院r_hospital,另一个是科室r_department。怎样关联查询,选择完医院之后,科室只显示该医院的科室,而不显示其他医院的了

thinkphp 关联查询
Statement:
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