PDA

View Full Version : Add a URL to a post in code


Exeter
11-09-2009, 04:32 AM
I am auto generating threads using this:

$newpost['message'] = "Something www.google.com somemore";
...
build_new_post('thread', $foruminfo, array(), array(), $newpost, $errors);

The threads get generated, but the www.google.com part appears in plan text, not as a blue hyper link. Adding vB code and html tags does not help.

How do I need to encode the string for the build_new_post function to pic this up?

Thanks

Exeter
11-11-2009, 01:36 AM
anyone?

Lynne
11-11-2009, 02:54 AM
You would put it in using proper html, not bbcode.