yes, changed it to query and it...almost works. It goes to the redirect page, and when it gets redirected it the forum shows up all backwards....
the scroll bar is on the left, the words are from right to left, the buttons don't show up??? but this is only if i do a query in the if statement.
like this:
PHP Code:
if($userid == $DB_site->query("SELECT userid FROM user WHERE userid = ".$userid))
when I tried doing this if:
PHP Code:
if($userid == 1))
it gave me no errors at all.
so i'm guessing there's a problem with the query. can anyone point it out?