Hi I'm building a webpage where people can enter their own movie reviews and I'm having a major problem. So far I've gotten the review submission form up to a part where I need there to be checkboxes and I can't get them to work. Everything else was working until I entered the code I thought was correct for the checkboxes. Below are my scripts also if someone could tell me what kind of column in mysql I need for the checkboxes please tell me as I am having some difficulty with that also. writea.html isn't the complete file as the rest of it is normal html text so I'm just putting the form part here.
writea.html
<form action=processa.php method=POST>
<p>What is your name or what do you want to be known as?
<input type=text name=name size=25 maxlength=25>
<p>What is your E-mail address?
<input type=text name=email size=25 maxlength=25>
<p>What is the title of the movie you are reviewing?
<input type=text name=title size=50 maxlength=100>
<p>What year did this movie come out? If you don't know please look up the title
on the <a href="http://www.imdb.com" target="_blank">Internet Movie Database</a>
to a movie's year of release.
<input type=text name=year size=4 maxlength=4>
<p>What is the MPAA rating of this movie?
<select name="rating">
<option value="G" selected>G</option>
<option value="PG">PG</option>
<option value="PG-13">PG-13</option>
<option value="R">R</option>
<option value="NC-17">NC-17</option>
<option value="Unrated">Unrated</option>
<option value="Not MPAA rated">Not MPAA rated</option>
</select>
<p>Which if any of the following does the movie contain?
<input type="checkbox" name="contains_array[]" value="Sex">
Sex
<input type="checkbox" name="contains_array[]" value="Violence">
Violence
<input type="checkbox" name="contains_array[]" value="Rape">
Rape
<input type="checkbox" name="contains_array[]" value="Drug Use">
Drug Use
<input type="checkbox" name="contains_array[]" value="Nudity">
Nudity
<input type="checkbox" name="contains_array[]" value="Cursing">
Cursing
<input type="checkbox" name="contains_array[]" value="Subtitles">
Subtitles
<input type="checkbox" name="contains_array[]" value="Black and White">
Black and White
<p>
<input type=submit>
</form></p>
</body>
processa.php
<body>
<?php
require ("rev.inc");
mysql_select_db("demonscars",$revcon);
$result = mysql_query("INSERT INTO reviews VALUES (NULL,'$name','$email','$title','$year','$rating',$contains')");
echo "Thank you! Information entered.\n";
?>
</body>