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.
 
 
 
 

19 lines
405 B

  1. <?php
  2. /**
  3. * Created by luocj.
  4. * User: Administrator
  5. * Date: 2016/8/10
  6. * Time: 9:54
  7. */
  8. require_once '../st-xm/Common/Mysql.php';
  9. header("Access-Control-Allow-Origin:*");
  10. $pdo=conn1();
  11. //取得所有车信息
  12. $sql1=" select * from base_resource where res_type_id =70";
  13. $result=$pdo->query($sql1);
  14. $result_array=$result->fetchAll();
  15. $result->closeCursor();
  16. $info_array=array();
  17. print_r($result_array);