本文整理汇总了PHP中Database_Connection::userLocationUpdate方法的典型用法代码示例。如果您正苦于以下问题:PHP Database_Connection::userLocationUpdate方法的具体用法?PHP Database_Connection::userLocationUpdate怎么用?PHP Database_Connection::userLocationUpdate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Database_Connection
的用法示例。
在下文中一共展示了Database_Connection::userLocationUpdate方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$_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'];
$_user_name = $_POST['_user_name'];
$order_id = $_POST['key_order_info_id'];
$order_customer_name = $_POST['key_order_info_customer_name'];
$order_customer_phone = $_POST['key_order_info_customer_phone'];
$order_distance = $_POST['key_order_info_distance'];
$order_address = $_POST['key_order_info_address'];
$order_city = $_POST['key_order_info_city'];