when posting a new message on my forum and it contains a url. How do i automatically add the bbcode url tags to a url in the message?
MDanz
0
Junior Poster
Recommended Answers
Jump to Postdo a php explode between http:// and a space, and between www. and a space.
add the <a href=" and </a>
Fairly straightforward
akternatively:
All 3 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.