wita,
Wcześniej ładnie wszystko chodziło a teraz dup*
<html>
<head>
</head>
<body>
<?php
if($send=='Wyslij') {
include("../+4$.php"); // łoczenie ...
$zapytanie = "INSERT INTO news SET temat='$temat', calynews='$content', data='$data', tresc='$content', autor='$autor' ";
echo '<script language=JavaScript> aktiv = window.setTimeout("Farbe()",500);
function Farbe()
{
aktiv = window.location.href="panel.php?go=news";
}
</SCRIPT>
ZAPISANO poprawnie !!!
';
}
else {
echo "<center><form method="post
" action="news
.php
"> Temat: <input type=text name=temat ><br>
Tresc <textarea name=content rows="15" cols="68"></textarea><br>
Autor <input type=text name=autor value=Administrator><br>
<input type="submit
" value="Wyslij
" name="send
"><input type="reset" value="Kasuj
" name="B2
"> </FORM>
";
}
?>
</body>
</html>
Co jest zle??