thinkphp关联查询,name属性冲突

WBOY
Release: 2016-06-23 14:23:55
Original
932 people have browsed it

thinkphp 关联查询

thinkphp关联查询之后,得到一个是医院的name,普通查询得到的是医生的name。用js将这两个name传递到其他页面。问题出来了,js不可能获取两个name。怎样区分呢

回复讨论(解决方案)

把传递的医生的name和医院的name重新赋值一下重新assign一下。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!