|
- <?php
- require_once './Config.php';
- require_once './class.db.inc';
- require_once './disney.inc';
- //DB
- $objDbh = new Db;
- $objDbh->setAccount(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB);
- $objDisney = new DbDisney($objDbh);
- //$objDisney->getOrderArray($_GET['order_id']);
- $orderArray=$objDisney->getUnpaidOrder($_GET['order_id']);
- echo json_encode($orderArray);
- $sendArray=$objDisney->getUnpaidOrder($_GET['order_id']);
- print_r($sendArray);
- ?>
|