Question

I'm new to the site so please forgive me if I make some mistakes. And I'm also sorry about my bad English.

I'm trying to display an Iframe Colorbox from a dropdown list, it works well like this:

<?php 
foreach($entities as $entity => $value) 
 {
   echo '<option value="'. $value .'" class="iframe" href="http://mysite/index.php">'. $entity .'</option>';
 }
 ?>

However, if I try to use some URL with parameters like:

mysite/index.php?title=Special:UserLogin&returntoquery=mobileaction%3Dtoggle_view_mobile

The Iframe will not show anymore. Can anyone please tell me how to solve this problem?

Was it helpful?

Solution

I dont think you can use :(Colon) in your URL(except port) as I have seen previously.(reference)

Can u change that and take a look?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top