|
- <?php
- require_once './php_include/Config.php';
- require_once './php_include/class.db.inc';
- require_once './php_include/disney.inc';
-
- //DB
- $objDbh = new Db;
- $objDbh->setAccount(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB);
- $objDisney = new DbDisney($objDbh);
-
- if( !isset($_GET["odr"]) ) {
- echo "0";exit();
- }
- if( !isset($_POST["odc"]) ) {
- $_POST["odc"] = "";
- }
- $objDisney->updateOrderCommonInfo( $_GET["odr"], array("comment" => $_POST["odc"]) );
-
- echo "1";
- ?>
|