Jump to content

Easy and simple a href question


nightkarnation

Recommended Posts

This is correct:

 

Print "<a href=".$result['url'] . ">" .$result['description'] . "</a><br>";

 

Now i want to do the same but target _blank:

 

Print "<a href=".$result['url'] . "target="_blank">" .$result['description'] . "</a><br>";

 

INCORRECT...what am i doing wrong ??

 

Thanx in advance for the help!

Cheers,

Link to comment
https://forums.phpfreaks.com/topic/123554-easy-and-simple-a-href-question/
Share on other sites

Archived

This topic is now archived and is 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.