In the final code download,
In the final code download, you have this line
$q = mysqli_query($con, "INSERT INTO `threads` VALUES ('', '$title', '$description', '$user', '0', '0', '$tags')") or die(mysql_error());
, but in the first thread you only have us make the id, title, content, and author tags what are the last 3?