<?php
$dbcnt = @mysql_connect("mysql.csail.mit.edu", "filmsai", "filmsAI+3456")
	or die('Error!  The script couldn\'t connect to the server.  Please try again in a minute or contact the webmaster.  ');
@mysql_select_db("filmsAI",$dbcnt)
	or die('Error!  The script encountered a database error.  Please try again in a minute or contact the webmaster.  ');
$counter = 0;
$list = "";
for ($i = 913; $i <= 999; $i++) {
	$list = $list.sprintf("`comment%03d`, ", $i);
	$counter++;
	if ($counter == 16) {;
		$outlist = substr($list, 0, -2);
		print $outlist."\n\n<br><br>";
		@mysql_query("ALTER TABLE `comments` ADD FULLTEXT ($outlist)",$dbcnt)
			or die('Trouble!  The script encountered an unknown error.  Please try again in a minute or contact the webmaster.  ');
		$counter = 0;
		$list = "";		
		sleep(3);
	}
}
?>