Hi there, I want to redirect from a php/html directly to a thread inside a forum page. Now this is currently working if someone is logged in, but if the person has to login or register I need a code to redirect after the person has done so. Having done some searching I end up with this...
From my news.php
<?php
echo "<a href='localhost/Forum/thread.php?threadID=10'>Next Page</a>";
?>
Here comes the part where I am rather not that sure about what to do.
login.php
<?php
$redirect = $_GET['threadID'];
?>
What should I add in the login.php to make it work?