Warning: Undefined variable: action in D:\\web\\Diget 1\\digit00a13\\www\\index.php on line 3
hjælp hvorfor siger min php server det her til min php fil ?Warning: Undefined variable: action in D:\\web\\Diget 1\\digit00a13\\www\\index.php on line 3
Her er min fil:
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
<?
if (! $action){
$action = \"index\";
}
?>
<html>
<head>
<title>Webspine forum</title>
<link rel=\"STYLESHEET\" type=\"text/css\" href=\"style/forum.css\">
</head>
<body bgcolor=\"#000000\">
<?php
if ($action == \"index\")
{
//Henter ID
$fp = fopen(\"id.txt\",\"r\");
$id = fgets($fp,1024);
fclose($fp);
Nogen der kan hjælpe ?
VH Jesper
