I want to add a line break to a forum, so when you mash the enter key like 10 times, it'll put in 10 line breaks.
The message is entered through a form
<form action="alliancethread.php" method="post">
<input type="hidden" name="action" value="1">
<input type="hidden" name="tid" value="<?=$tid?>">
<textarea cols="70" rows="12" name="message" style="font-family: Verdana; font-size: 10px; background-color: rgb(0,0,0); color: rgb(255,255,255); font-weight: bold; text-indent: 0px; border: thin solid"></textarea>
</td>
</tr>
Like that. Then it is printed out on the same page...
print("
<table width=\"100%\" border=\"1\" bordercolor=\"#000000\" cellspacing=\"1\" cellpadding=\"1\">
<tr>
<td width=\"145\">
<font size=\"2\" face=\"Tahoma\">
<b>$pppfa[kname] ($pppfa[x]:$pppfa[y])</b>
<br>
$pppfa[atitle]
<br>
$ttttfa[date]
</font>
</td>
<td>
<font size=\"2\" face=\"Tahoma\">
$ttttfa[text]
</td>
");
Any help would be greatly appreciated 🙂