Simple script which inputs data into a DB. Obviously you have to replace the variables with your own to suit your server.
<?php
<?php
mysql_connect
("localhost","user","password");
mysql_select_db (database);
$query = "INSERT INTO database(text , title)
VALUES('$text','$title')"
;
$result = mysql_query($query);
echo
'Item Entered.';
?>
?>