Hello. I allow members to post statuses on my website and i want to check links. And if that text includes "www" i want to make that a link. How would i check this everytime i pull the status from the database to show it on the page
zacharysr
0
Newbie Poster
Recommended Answers
Jump to PostHere is a page with similar code http://css-tricks.com/snippets/php/find-urls-in-text-make-links/. As stated in the page all links must start with "http://", "https://" or the like for the regular expression to match it.
Sanitize the …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.