$author = $_POST['author'];
$anno = $_POST['newanno'];

$query = "INSERT INTO annodb VALUES('asda', 1, 'asdasd', 'asdasd',
'asdadasd');";

include("includes/dbconnect.

php");



The query here is actually :

$query = "INSERT INTO annodb VALUES('$title', '$annoid', $pid, '$author',
'$anno);

I put in the junk values for testing and forgot to remove them while posting
:P

Reply via email to