=]ReDHeaD[=
Mitglied
Ich hab ein echt fettes Problem und zwar will ich eine Zitatfunktion in ein Forum einbauen, es ist nichts anderes als [quote ][/ quote].
([quote = ...] [/quo te])
der RegEx dazu ist:
naja das klapp auch alles, ich kann sooft zitieren, wie ich will, aber sobold ich hinter das letzte [/quote] was schreibe, beispiel:
[quote = ReDHead]bla bla[/quote ]
bist du ein idiot?
kommt nur scheixXxe bei raus, er interpretiert irgendwie die hälfte davon ^^
ich zeigs euch mal:
www.gp-gamers.de/fehler.jpg
das wird von:
erzeugt.
([quote = ...] [/quo te])
der RegEx dazu ist:
PHP:
$rows['inhalt'] = preg_replace("/\[quote\](.*)\[\/quote\]/iUs","<div style=\"padding:10px;\"<b>Zitat</b><div style=\"width:75%; padding-left:3px; padding-top:10px; border:1px inset; background:#E1E4F2;\">$1</div></div>",$rows['inhalt']);
[quote = ReDHead]bla bla[/quote ]
bist du ein idiot?
kommt nur scheixXxe bei raus, er interpretiert irgendwie die hälfte davon ^^
ich zeigs euch mal:
www.gp-gamers.de/fehler.jpg
das wird von:
Code:
[quote= SplasH ][ quote= SplasH][ quote]sdsd[ / quote]asd[ /qu ote]asd[/qu ote]