当前位置: 首页>>代码示例>>PHP>>正文


PHP Database_Connection::userLocationUpdate方法代码示例

本文整理汇总了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'];
开发者ID:scudsbook,项目名称:project_scudsbook,代码行数:31,代码来源:Server_Scudsbook_User_Handler.php


注:本文中的Database_Connection::userLocationUpdate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。