Jump to content

*SOLVED*<a herf=""> not working inside <iframe> tag</iframe></a>


Recommended Posts

I am doing a banner exchange script.
this is the banner tag
"<!-- Banner code begin -->
<CENTER>'<IFRAME SRC= 'http://domainname.com/subfolder/work.php?ID=$check' width=300 height=400 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling='no'></IFRAME><p>&nbsp;</p></CENTER>
<!-- Banner code end -->";

inside work.php
$hrf = "http://domainname.com/subfolder/work.php?who=$check&redi=$rediurl";
echo("<center><a herf=\"$hrf\"><img src=\"$banurl\"> <br> </a></center>");

image was perfectly displayed. but i cannt make a link. please help me.

Thankyou,
Karthikeyan.
Link to comment
https://forums.phpfreaks.com/topic/5262-solved-not-working-inside-tag/
Share on other sites

[!--quoteo(post=356294:date=Mar 19 2006, 06:01 AM:name=Barand)--][div class=\'quotetop\']QUOTE(Barand @ Mar 19 2006, 06:01 AM) [snapback]356294[/snapback][/div][div class=\'quotemain\'][!--quotec--]
echo("<center><a [!--coloro:#FF6666--][span style=\"color:#FF6666\"][!--/coloro--]herf[!--colorc--][/span][!--/colorc--]=\"$hrf\"><img src=\"$banurl\"> <br> </a></center>");

try "HREF" or "href" instead of "herf"
[/quote]


Ohh what a minor mistake i did :( . Thanks a lot Mr.Barand.
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.