|
- <?php
- /*
- Author:XM
- Compeny:Spiders Travel
- */
- require_once __DIR__.'/../Common/Mysql.php';
- if (ALLOW_ORIGIN)
- header("Access-Control-Allow-Origin:*");
-
- $pdo=conn();
- $sql="CALL DRIVER_GET_STATION_USER_INFO('1','150861','1','6')";
- if(is_object($pdo)) {
- $result = $pdo->query($sql);
- $json = $result->fetchAll(PDO::FETCH_ASSOC);
- }
- print_r($json);
-
- echo mb_strlen($json[0]["userName"])."<br />";
-
-
- $pdo2=conn();
- $sql2="CALL DRIVER_GET_STATION_USER_INFO('1','150861','1','937')";
- if(is_object($pdo2)) {
- $result = $pdo2->query($sql2);
- $json2 = $result->fetchAll(PDO::FETCH_ASSOC);
- }
- print_r($json2);
- echo mb_strlen($json2[0]["userName"])."<br />";
-
- exit();
-
-
-
|