excuse me...! my english is not very good! until last week i'm use "www.000webhost.com" webhost and i had no problem!!! But today I bought a new server and use old file like before... I dont know the problem is from php files or database?
Please show me the solution
this my php code
    <?php 
    //Creating a connection
    $con = mysqli_connect("___","___","___","___");
    if (mysqli_connect_errno())
    {
       echo "Failed to connect to MySQL: " . mysqli_connect_error();
    }
    /*Get the id of the last visible item in the RecyclerView from the request and store it in a variable. For            the first request id will be zero.*/  
    $id = $_GET["id"];
    $sql= "Select * from db_app where id between ($id+1) and ($id+10)";
    $result = mysqli_query($con ,$sql);
    while ($row = mysqli_fetch_assoc($result)) {
        $array[] = $row;
    }
    header('Content-Type:Application/json');
    echo json_encode($array);
    mysqli_free_result($result);
    mysqli_close($con);
 ?>
this my database code
    CREATE DATABASE `android_db`;
USE `android_db`;
CREATE TABLE IF NOT EXISTS `db_app` (
  `id` int(15) NOT NULL AUTO_INCREMENT,
  `movie_name` varchar(45) NOT NULL,
  `movie_image` varchar(10000) NOT NULL,
  `movie_genre` varchar(40) NOT NULL,
  PRIMARY KEY (`id`)
);
 
    