简体   繁体   中英

How to load multiple iframes with same src on one page

I am creating a WordPress based website and I have a web page where there are multiple iframes with the same src.When I load this page all iframes are showing the same result, but every iframe should have different iframe content with the values sent using session(used for sending data from a PHP file to another PHP file) from where iframe is defined to the iframe src.The web page basically contains users of the website giving different reviews.The iframe in the web page is used for displaying star rating given in each user review.So, each iframe is displayed with values(userid,etc.) to display user's star rating and other user related data.


An image of a webpage:

网页图片


An image of the iframe:

iframe的图片

如果它在同一服务器上,请改用Ajax。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM