forked from science-ation/science-ation
- Delete debug print statements
This commit is contained in:
parent
4c0cc8b3d5
commit
c0e5a2cb91
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user