If you want to redirect a user to levelup.php you have two options.
With PHP, you can send a Location header with the HTTP response. Note that this header must be sent before any output is sent to the user.
PHP Code:
/**
* @see http://php.net/manual/en/function.header.php
*/
header('Location: /levelup.php');
exit;
I will look at Mysidia later and tell you where it would be best to place this code. I know that Mysidia is built on some variant of MVC, but I haven't had my hands in the codebase since it was Rusnak's adoptables script so I need to brush up.
Another option is using JavaScript to redirect the user. This can be done after output has been sent and the page has been loaded. However users who have JavaScript disabled in their browsers will not be redirected.
Code:
wndow.location = '/levelup.php';