Well, all I want is to pass a variable, just one, to an iframe, I know that is something like:

<iframe src= 'http://blabla.com/bla.php?variable=string'</iframe>

and inside the iframe something like:

$myvar = $_GET['variable'];

But my problem is that my variables are URLS, with "?" and "&" so when I parse that variables throught the Iframe a "not found" happends, is there any way to parse urls as variables to a in iframe?


Recommended Answers

Check out this function http://php.net/urlencode

Jump to Post

All 3 Replies

perfect! Thanks!

Member Avatar

Do you need to use an iframe? Can you not use an include file?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.