You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
660 B

  1. <?php
  2. /*
  3. Author:XM
  4. Compeny:Spiders Travel
  5. */
  6. require_once __DIR__.'/../Common/Mysql.php';
  7. if (ALLOW_ORIGIN)
  8. header("Access-Control-Allow-Origin:*");
  9. $pdo=conn();
  10. $sql="CALL DRIVER_GET_STATION_USER_INFO('1','150861','1','6')";
  11. if(is_object($pdo)) {
  12. $result = $pdo->query($sql);
  13. $json = $result->fetchAll(PDO::FETCH_ASSOC);
  14. }
  15. print_r($json);
  16. echo mb_strlen($json[0]["userName"])."<br />";
  17. $pdo2=conn();
  18. $sql2="CALL DRIVER_GET_STATION_USER_INFO('1','150861','1','937')";
  19. if(is_object($pdo2)) {
  20. $result = $pdo2->query($sql2);
  21. $json2 = $result->fetchAll(PDO::FETCH_ASSOC);
  22. }
  23. print_r($json2);
  24. echo mb_strlen($json2[0]["userName"])."<br />";
  25. exit();