Jump to content


Photo

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


  • This topic is locked This topic is locked
2 replies to this topic

#1 blazing_bruce

blazing_bruce
  • Members
  • PipPip
  • Member
  • 28 posts
  • LocationIndia

Posted 19 March 2006 - 12:22 AM

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.

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,017 posts

Posted 19 March 2006 - 12:31 AM

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"

If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

#3 blazing_bruce

blazing_bruce
  • Members
  • PipPip
  • Member
  • 28 posts
  • LocationIndia

Posted 19 March 2006 - 05:13 PM

[!--quoteo(post=356294:date=Mar 19 2006, 06:01 AM:name=Barand)--][div class=\'quotetop\']QUOTE(Barand @ Mar 19 2006, 06:01 AM) View Post[/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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users