the php:
<?
$id = "username";
$pass = "password";
$db=mysql_connect("localhost",$id,$pass) or die("Cant connect!");
mysql_select_db("thedb", $db) or die("Cant select DB!");
$sql="INSERT INTO news (date,by,article) VALUES('$date','$name','$entry')";
$result = mysql_query($sql);
if ($result) {echo "Yes!";}
else {echo "No!";}
?>
go to www.captainrerun.com/post.html
thanks for your help!