Jump to content

passing variables into iframe


bostjan26
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...