Jump to content

passing variables into iframe


bostjan26

Recommended Posts

Hi to all, n00b here! I have a simple problem, just started with php... I would like to setup a script, which could pass variable (affiliate ID) from my db, into a JS iframe on my affiliate site. As far as I know, the php script has to be created with iframe and that iframe would then be displayed on affiliate site, with aff ID embeded in it.The iframe would then look something like this : <script language="JavaScript" src="http://myapp.mydomain/someJS.js"></script><script language="JavaScript" src="http://myapp.mydomain/someJS.js"></script><link type="text/css" rel="stylesheet" href="http://myapp.mydomain/someCss.css"><script language="JavaScript">var clientID = 0;var codeType = 1;</script><script language="JavaScript" src="http://myapp.mydomain.php?id=some_affID"></script> Pls, help with the script! :) Tnx and have a nice day! Bostjan

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...