- Delete debug print statements

This commit is contained in:
dave 2009-02-05 08:44:53 +00:00
parent 4c0cc8b3d5
commit c0e5a2cb91

View File

@ -56,7 +56,6 @@
function roll($currentfairyear, $newfairyear, $table, $fields)
{
echo "SELECT * FROM $table WHERE year='$currentfairyear'";
$q=mysql_query("SELECT * FROM $table WHERE year='$currentfairyear'");
echo mysql_error();
$names = '`'.join('`,`', $fields).'`';
@ -66,7 +65,6 @@
$vals .= ",'".mysql_escape_string($r[$f])."'";
}
print("INSERT INTO $table(`year`,$names) VALUES ('$newfairyear'$vals)<br/>");
mysql_query("INSERT INTO $table(`year`,$names) VALUES ('$newfairyear'$vals)");
echo mysql_error();
}