• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wrap anchor tags around links in the database

#7
[eluser]CroNiX[/eluser]
[quote author="brian88" date="1335191773"]That's true InsiteFX, I wont be going that far with this project. More for fun.

So Cronix suggested 1 way to detect the url. but that would be wrapping the whole paragraph in <a> tags. Not the link. Is there a better way?[/quote]No, my way only detected if it had 'youtube.com' in the text, which was one of the things you asked. It doesn't wrap anything in tags.



Messages In This Thread
wrap anchor tags around links in the database - by El Forum - 04-20-2012, 09:07 AM
wrap anchor tags around links in the database - by El Forum - 04-20-2012, 10:18 AM
wrap anchor tags around links in the database - by El Forum - 04-20-2012, 07:17 PM
wrap anchor tags around links in the database - by El Forum - 04-20-2012, 08:18 PM
wrap anchor tags around links in the database - by El Forum - 04-23-2012, 07:36 AM
wrap anchor tags around links in the database - by El Forum - 04-23-2012, 10:11 AM
wrap anchor tags around links in the database - by El Forum - 04-23-2012, 10:30 AM
wrap anchor tags around links in the database - by El Forum - 04-23-2012, 10:35 AM
wrap anchor tags around links in the database - by El Forum - 04-23-2012, 02:15 PM
wrap anchor tags around links in the database - by El Forum - 04-23-2012, 02:21 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.