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"; Quote 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"; Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.