Yes thx but how do I intergrate that in this code:
<BODY>
<?
if($password == "*"){
echo "The Headline is Online. <A HREF='index.php'>Show</A>";
$db = mysql_connect("localhost","user","*");
mysql_select_db("user",$db);
$news_date = time();
mysql_query("INSERT INTO scripts (date, headline, text, name) VALUES ('$news_date','$news_headline','$news_text','$news_name')");
} else {
?>
<FORM METHOD=POST ACTION="submit_news.php">
PassWord:<BR>
<INPUT TYPE=PASSWORD NAME=kodeord><BR>
Headline:<BR>
<INPUT TYPE=TEXT NAME=nyhed_overskrift><BR>
Name:<BR><INPUT TYPE=text NAME=nyhed_navn VALUE=admin>
<BR>
Text:<BR>
<TEXTAREA NAME=nyhed_tekst>Write the story here</TEXTAREA><BR>
<INPUT TYPE=submit VALUE=Write!!>
</FORM>
<?
}
?>
</BODY>