=====
markfiend's replySpiggy's hat wrote:Spiggy's Hat's Post
=====
... it comes up like this:
=====
[quote="Spiggy markfiend's reply
=====
I presume it's something to do with the ' commenting out the rest of the line in the php code?
markfiend's replySpiggy's hat wrote:Spiggy's Hat's Post
seems ok to meSpiggy's hat wrote:Spiggy's Hat's Post
and againlazarus corporation wrote:single quotes are comments in ASP not PHP.
seems ok to meSpiggy's hat wrote:Spiggy's Hat's Post
wierd.lazarus corporation wrote:and againlazarus corporation wrote:single quotes are comments in ASP not PHP.
seems ok to meSpiggy's hat wrote:Spiggy's Hat's Post
Code: Select all
<input type='hidden' name='message' value='' />
<input type='hidden' name='last_msg' value='[QUOTE="lazarus corporation"].....'>
Code: Select all
<input type='hidden' name='message' value='' />
<input type='hidden' name='last_msg' value='[QUOTE="Spiggy's Hat"].....'>
Code: Select all
<input type='hidden' name='last_msg' value='[QUOTE="Spiggy' _random characters the html parser can't understand so ignores_ >
After it, add:$last_msg = str_replace("'", "'", $last_msg);
thanks to thoul on phpbbhacks$last_poster = str_replace("'", "'", $last_poster);