Sorry. I don't speak enough jargon.
The DB Table:
CREATE TABLE IF NOT EXISTS `articles` (
`date` datetime NOT NULL,
`pagetitle` varchar(60) NOT NULL COMMENT 'Tes?',
`content` text NOT NULL,
PRIMARY KEY (`pagetitle`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
The section in index.php where the info is being displayed:
<?php
$sql = "select * from articles";
$result = mysql_query ($sql);
while ($row = mysql_fetch_array($result))
{
$field1= $row["pagetitle"];
$field2= $row["content"];
$field3= $row["date"];
echo "$field1
";
echo "$field3
";
echo "$field2
";
}
?>
and go.php which sends the info to the db:
<?php
include '../includes/config.php';
$insert = "INSERT INTO articles (pagetitle, content, date)
VALUES ('".$_POST['pagetitle']."', '".$_POST['content']."', '".$_POST['date']."')";
$add_data = mysql_query($insert);
?>
If you need other info just tell me what you need.