Debian:jessie / sid

时间:2016-06-10 20:59:20

标签: debian beagleboneblack

也许是一个愚蠢的问题,但以下是否意味着我正在运行sid?运行jessie non-sid时返回什么?这恰好发生在beaglebone设备上。我问,因为我正在开展一个新项目,而且我担心我们的设备会出现“不稳定”问题。 Debian的版本。

   <?php

      // you can check for sql injection
      $location = $_GET['loc'];
      $rent=$_GET['rent'];

      // check if $_GET['rent'] is provided and has a value
      if( isset( $_GET['rent'] ) && $_GET['rent'] ) {

        $result = $mysqli->query("SELECT * FROM dbc_posts WHERE city='$location' AND rent_price < '$rent'  ORDER BY ID ASC" );

       // do remaining stuff

      } else { 

       // rent is not provided
       $result = $mysqli->query("SELECT * FROM dbc_posts WHERE city='$location'  ORDER BY ID ASC");

       // do other stuff

      }



    ?>

0 个答案:

没有答案
相关问题