MyBB Community Forums

Full Version: <script> in mycode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello,
im trying to create plugin allow this my code but its hidding everything below it at post
heres the code what im trying
   $content = preg_replace("/\[mig](.*?)\[\/mig\]/si", "<script language=\"JavaScript\" src=\"http://tetools.tk/tw/status.php?id=$1\"></script>", $content);

thanks guys, i done it Wink