Jump to content

take out double quotes


anarchoi

Recommended Posts

Ok here is my situation: I coded a script for vBulletin that displays the last topics on my forum.

 

When the mouse is over the link, I use JavaScript to display the post's text

( onmouseover="Tip('$var')" )

 

The problem is that as soon as the post text contains BBCode it mess all the page up.

 

I'm suspecting this is due of double quotes in BBCode

( i.e. [C0L0R=Red][/C0L0R] )

 

how can i take it out of $var ?

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/93243-take-out-double-quotes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.