When I use: include "filename.php"; the page I'm including appends itself to the calling page.
How can I get it to display as a new page? (something like cls in basic)
does exactly what it is called, it includes a file in the current file 🙂
What exactly do you want done, there is a header command which you can try out!
try php.net, read a tutorial or 2
yeah, include will just add it to wherever.. but if you want to reload the page as a new one, try one of these
// must come before any output -> its bitchy to use header("Location:thepage.php"); // the best imo // echo "<meta http-equiv=\"Refresh\" content=\"0;URL=page.php\">"; // or just echo a javascript line // echo "<script>location=page.php;</script>";