$threadpost = preg_replace ("/\[ quote msg=(.*)\](.*)\[\/ quote\]/","reply #$1:<BR><table><tr><td>$2</td></tr></table>",$threadpost);
hey there guys...
the above code works ok when it is looking for a single [ quote] xx [/ quote]. but when it comes across [ quote][ quote] xx [/ quote] xxx [/ quote] then it only reads the outer ones and even then it doesn't really do that!
is there any way to solve this?
ive had to add in a couple of spaces here and there so the quote tags wont be parsed by this board!