yes i know you where joking. i was reffering to DoppyNL...
I know the include command is messed up, but when i do the http header command it gives me an error.. here.. look.
http://65.34.83.11/index.php
Thats the link to my PWS. The following is the code I have..
Go to the link, and click on the link. It brings up a error, and i cant figure out whats wrong.
What im trying to do. Is make a link that says
http://whatever.com/?menu=shouts .
I've seen this at many websites, such as
http://www.deviantart.com
I found a simple tutorial on how to do it, but it didnt use the header command, it used include() command.
But when i use the include command, it messes up the script i have for the shout box. It will refresh the index page(where the link is) and just include the shoutbox page code inside, but when i fill out the shout box form and press submit, it just brings me back to the index page.
Sorry, but tahts the best i can describe it, if anyone can help, please let me know
Code: Select all
<? if($menu=="shouts"){
header("Location: http://65.34.83.11/comments.php"); } else {
?>
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title></title>
</head>
<body>
<a href="?menu=shouts"> shout box </a>
</body>
</html>
<? } ?>
[/code]