tommr Posted January 29, 2011 Share Posted January 29, 2011 I am not sure where to put a rel=nofollow tag in this line. echo "<a href='".( strpos( '://', $row['website'] ) ? '' : '' ).$row['website']."'>".$row['website']."</a>\n"; Link to comment https://forums.phpfreaks.com/topic/226058-where-can-i-put-a-relnofollow/ Share on other sites More sharing options...
l4nc3r Posted January 29, 2011 Share Posted January 29, 2011 Use php tags, man. echo "<a href='".( strpos( '://', $row['website'] ) ? '' : '' ).$row['website']."' rel='nofollow'>".$row['website']."</a>\n"; Link to comment https://forums.phpfreaks.com/topic/226058-where-can-i-put-a-relnofollow/#findComment-1166985 Share on other sites More sharing options...
tommr Posted January 29, 2011 Author Share Posted January 29, 2011 That works. Thank you. Link to comment https://forums.phpfreaks.com/topic/226058-where-can-i-put-a-relnofollow/#findComment-1166993 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.