Adds orders

adds orders taken from checkout.php to database
sends info to check.php