hey guys rite i have created a website and i am trying to insert a indivual piece of data into 1 column of my phpmyadmin page table. But i am doing a TV show website and just creating a easy and basic forumn.. i am trying to insert a reply code which when you press reply it insert it into ID number 1 of column reply.. at the moment all it does it insert it into the end of another ID which it is creating can anyone help me
here is my code?
<?php
if (isset($_POST['submitted'])) {
$name = $_POST['entername'];
$usernameorguest =$_POST['usernameorguest'];
$reply =$_POST['reply'];
$sqlinsert = "INSERT INTO `forumposts` WHERE (`POSTID`=1) INTO (`REPLY`) VALUES('$reply')";
$query = mysql_query($sqlinsert);
if (!$query) {
echo "error inserting new record" . mysql_error();
}
} // end of mani if statment
//$newrecord ="1 record added to the database";
?>