Im getting a real headache from this, ive made a topic thing and when you delete a post it comes up with a redirect page, it also includes a link for people who don't want to wait.
The link works fine, the redirect does work but with some extra stuff in the url for some reason.
<meta HTTP-EQUIV="REFRESH" content="3; url=<?php echo "view.php?topicID=".$_SESSION['page']." />"; ?>
<title>Post successfully added</title>
</head>
<body>
<div align="left">Your post has successfully been added. You will be redirected now...<br>
<?php echo "Wait or click <a href='view.php?topicID=".$_SESSION['page']."'>here</a>"; ?></div>
That's the code which links and also redirects back.
Now the redirect page shows this in the url:
view.php?topicID=1%20/%3E%3Ctitle%3EPost%20successfully%20added%3C/title%3E%3C/head%3E%3Cbody%3E%3Cdiv%20align=
It looks like the redirect link didn't get closed off properly and the url added the html into the url or something.... i have tryed various different things but none have worked.
Its no big problem its just the topic title only shows when the url doesn't have all that extra stuff in.
Thanks in advance