MyBB Community Forums

Full Version: Error with & in Newthread.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is my Newthread code, i want to redirect "visible thread" to Test.php

// Visible thread
$lang->redirect_newthread .= $lang->redirect_newthread_thread;
$url = "test.php?action=update&check=ok";

and $url = "test.php?action=update&check=ok";

But this is in my Address Bar, both & and & show: test.php?action=update&check=ok
and i can not use $_GET[]...
So what is this problem? and how can i fix ?

P/s: I using window.location to redirect...

Let 's use html redirect, it is working for me.