THE COMMIT OF ALL COMMITS

This commit is contained in:
2013-05-19 11:51:36 -04:00
commit feff3f901a
176 changed files with 105695 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
include('config.php');
include('db_connect.php');
$order_array = explode(",", $_POST['order']);
foreach($order_array as $key => $value) {
echo $value . ' > ' . $key . "\n";
mysql_query("UPDATE spooners SET order_num = " . $key . " WHERE id = " . $value) or die(mysql_error());
}
?>