本文整理匯總了PHP中Database_Connection::queryAmdin方法的典型用法代碼示例。如果您正苦於以下問題:PHP Database_Connection::queryAmdin方法的具體用法?PHP Database_Connection::queryAmdin怎麽用?PHP Database_Connection::queryAmdin使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Database_Connection
的用法示例。
在下文中一共展示了Database_Connection::queryAmdin方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
$_type_set_deliver_by_deliver = "set_deliver_by_deliver";
$_type_user_list_query = "user_list_query";
include_once '../Database/Database_Connection.php';
$databaseConnection = new Database_Connection();
$databaseConnection->createDatabase();
$_key_type = $_POST['_key_type'];
if ($_key_type == 'user_request') {
$_user_name = $_POST['_user_name'];
$_password = $_POST['_password'];
$_key = $_POST['_key_scudsbook'];
$databaseConnection->logInFromMobile($_key, $_user_name, $_password, "", "", "", "", "", "", "", "", "");
} else {
if ($_key_type == $_user_admin_key) {
$_key = $_POST['_key_scudsbook'];
$_user_name = $_POST['_user_name'];
$databaseConnection->queryAmdin($_key, $_user_name);
} else {
if ($_key_type == $_type_location) {
$_key = $_POST['_key_scudsbook'];
$_user_name = $_POST['_user_name'];
$_lat = $_POST['_location_lat'];
$_lan = $_POST['_location_lan'];
$databaseConnection->userLocationUpdate($_key, $_user_name, $_lat, $_lan);
} else {
if ($_key_type == $_type_location_query) {
$_key = $_POST['_key_scudsbook'];
$_user_name = $_POST['_user_name'];
$databaseConnection->queryAddress($_key, $_user_name);
} else {
if ($_key_type == $_type_order_info_update) {
$_key = $_POST['_key_scudsbook'];