![]() |
Thread data manager and line breaks
Hi,
I want to use data manager to create a new thread and I want the first post to contain line breaks. But I don't want to make the forum allow HTML, so I cannot use <br>. Here's my code: Code:
$threaddm =& datamanager_init('Thread_FirstPost', $vbulletin, ERRTYPE_ARRAY, 'threadpost'); Quote:
Quote:
Regards TiKu |
Escape sequences like \n only work in double-quoted strings. So if you change your pagetext line like:
Code:
$pagetext .= "\n\nClick here"; it should work. |
Argh! Many thanks, without your help I would have been searching the error for days.
|
All times are GMT. The time now is 07:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|