CodeIgniter Forums
How to convert this code from Core PHP to Codeigniter ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: How to convert this code from Core PHP to Codeigniter ? (/showthread.php?tid=74856)



How to convert this code from Core PHP to Codeigniter ? - manigopal - 11-15-2019

I have written rest api in PHP now i need to do the same in codeigniter,

Files @
https://gitlab.com/manigopal/ci-projects/blob/master/Showtime/%20How%20to%20convert%20this%20code%20from%20Core%20PHP%20to%20Codeigniter%20%3F

PHP Code:
<?php 
error_reporting
(1);
  
  
include("DbConnect.php");
  
  ?>
  

<?php 

  
// #### START BANNERS SECTION ####
  $home_banners "SELECT * FROM banners_info WHERE enable = 'Yes' ORDER BY banner_id ASC";
  $result_home_banners mysqli_query($conn,$home_banners);
  
  $json_array_home_banners 
= array();  
  
  
while($row mysqli_fetch_array($result_home_banners))  
          
{  
                array_push
($json_array_home_banners, array(
"banner_id"=>$row[0],
"banner_title"=>$row[1],
"banner_image"=>$row[2],
"banner_description"=>$row[3],
"enable"=>$row[4], 
)
);
          }
  
  
// #### END BANNERS SECTION ####
  
  
// #### START HOME FEATURED (Movies) SECTION ####
  
  $home_featured_movies 
"SELECT * FROM `movies_info` ORDER BY movie_id DESC LIMIT 0, 6";
  $result_home_featured_movies mysqli_query($conn,$home_featured_movies);
  
  $json_array_home_featured_movies 
= array(); 
  
          
while($row mysqli_fetch_array($result_home_featured_movies))  
          
{  
                array_push
($json_array_home_featured_movies, array(
"movie_id"=>$row[0],
"movie_name"=>$row[1],
"movie_original_name"=>$row[2],
"movie_image"=>$row[3],
"movie_description"=>$row[4],
"movie_stars"=>$row[5],
"movie_director"=>$row[6],
"movie_trailer"=>$row[7],
"release_date"=>$row[8],
"release_year"=>$row[9],
"movie_genre"=>$row[10],
"movie_rating"=>$row[11],
"movie_country"=>$row[12],
"movie_runtime"=>$row[13],
"is_featured"=>$row[14],
"views_count"=>$row[15], 
)
);
          }  
  
  
// #### END HOME FEATURED (Movies) SECTION ####
  
  
  
  
// #### START HOME FEATURED (TV Shows) SECTION ####
  
  $home_featured_tv_shows 
"SELECT * FROM `tv_shows_info` ORDER BY tv_show_id DESC LIMIT 0, 6";
  $result_home_featured_tv_shows mysqli_query($conn,$home_featured_tv_shows);
  
  $json_array_home_featured_tv_shows 
= array(); 
  
  
while($row mysqli_fetch_array($result_home_featured_tv_shows))  
          
{                  
array_push
($json_array_home_featured_tv_shows, array(
"tv_show_id"=>$row[0], 
"tv_show_name"=>$row[1], 
"tv_show_original_name"=>$row[2],
"tv_show_image"=>$row[3],
"tv_show_description"=>$row[4],
"tv_show_stars"=>$row[5],
"tv_show_director"=>$row[6],
"tv_show_trailer"=>$row[7],
"tv_show_episodes"=>$row[8],
"tv_show_start_year"=>$row[9],
"tv_show_end_year"=>$row[10],
"tv_show_genre"=>$row[11],
"tv_show_rating"=>$row[12],
"tv_show_country"=>$row[13],
"tv_show_runtime"=>$row[14],
"is_featured"=>$row[15],
"views_count"=>$row[16],
)
);
          }
  
  
// #### END HOME FEATURED (TV Shows) SECTION ####
  
  
  
// #### START HOME MOVIES (Featured) SECTION ####
  
  $home_movies_section_featured_tab 
"SELECT * FROM movies_info WHERE is_featured = 'Yes' ORDER BY movie_id ASC LIMIT 0, 12";
  $result_home_movies_section_featured_tab mysqli_query($conn,$home_movies_section_featured_tab);
  
  $json_array_home_movies_section_featured_tab 
= array(); 
  
          
while($row mysqli_fetch_array($result_home_movies_section_featured_tab))  
          
{  
                array_push
($json_array_home_movies_section_featured_tab, array(
"movie_id"=>$row[0],
"movie_name"=>$row[1],
"movie_original_name"=>$row[2],
"movie_image"=>$row[3],
"movie_description"=>$row[4],
"movie_stars"=>$row[5],
"movie_director"=>$row[6],
"movie_trailer"=>$row[7],
"release_date"=>$row[8],
"release_year"=>$row[9],
"movie_genre"=>$row[10],
"movie_rating"=>$row[11],
"movie_country"=>$row[12],
"movie_runtime"=>$row[13],
"is_featured"=>$row[14],
"views_count"=>$row[15], 
)
);
          }  
  
  
// #### END HOME FEATURED (Movies) SECTION ####
  
  
  
// #### START HOME MOVIES (Top Viewed) SECTION ####
  
  $home_movies_section_top_viewed_tab 
"SELECT * FROM movies_info ORDER BY views_count DESC LIMIT 0, 12";
  $result_home_movies_section_top_viewed_tab mysqli_query($conn,$home_movies_section_top_viewed_tab);
  
  $json_array_home_movies_section_top_viewed_tab 
= array(); 
  
          
while($row mysqli_fetch_array($result_home_movies_section_top_viewed_tab))  
          
{  
                array_push
($json_array_home_movies_section_top_viewed_tab, array(
"movie_id"=>$row[0],
"movie_name"=>$row[1],
"movie_original_name"=>$row[2],
"movie_image"=>$row[3],
"movie_description"=>$row[4],
"movie_stars"=>$row[5],
"movie_director"=>$row[6],
"movie_trailer"=>$row[7],
"release_date"=>$row[8],
"release_year"=>$row[9],
"movie_genre"=>$row[10],
"movie_rating"=>$row[11],
"movie_country"=>$row[12],
"movie_runtime"=>$row[13],
"is_featured"=>$row[14],
"views_count"=>$row[15], 
)
);
          }  
  
  
// #### END HOME MOVIES (Top Viewed) SECTION ####
  
  
  
// #### START HOME MOVIES (Top Rating) SECTION ####
  
  $home_movies_section_top_rating_tab 
"SELECT * FROM movies_info ORDER BY movie_rating DESC LIMIT 0, 12";
  $result_home_movies_section_top_rating_tab mysqli_query($conn,$home_movies_section_top_rating_tab);
  
  $json_array_home_movies_section_top_rating_tab 
= array(); 
  
          
while($row mysqli_fetch_array($result_home_movies_section_top_rating_tab))  
          
{  
                array_push
($json_array_home_movies_section_top_rating_tab, array(
"movie_id"=>$row[0],
"movie_name"=>$row[1],
"movie_original_name"=>$row[2],
"movie_image"=>$row[3],
"movie_description"=>$row[4],
"movie_stars"=>$row[5],
"movie_director"=>$row[6],
"movie_trailer"=>$row[7],
"release_date"=>$row[8],
"release_year"=>$row[9],
"movie_genre"=>$row[10],
"movie_rating"=>$row[11],
"movie_country"=>$row[12],
"movie_runtime"=>$row[13],
"is_featured"=>$row[14],
"views_count"=>$row[15], 
)
);
          }  
  
  
// #### END HOME MOVIES (Top Rating) SECTION ####
  
  
  
// #### START HOME MOVIES (Recently Added) SECTION ####
  
  $home_movies_section_recently_added_tab 
"SELECT * FROM movies_info ORDER BY movie_id DESC LIMIT 0, 12";
  $result_home_movies_section_recently_added_tab mysqli_query($conn,$home_movies_section_recently_added_tab);
  
  $json_array_home_movies_section_recently_added_tab 
= array(); 
  
          
while($row mysqli_fetch_array($result_home_movies_section_recently_added_tab))  
          
{  
                array_push
($json_array_home_movies_section_recently_added_tab, array(
"movie_id"=>$row[0],
"movie_name"=>$row[1],
"movie_original_name"=>$row[2],
"movie_image"=>$row[3],
"movie_description"=>$row[4],
"movie_stars"=>$row[5],
"movie_director"=>$row[6],
"movie_trailer"=>$row[7],
"release_date"=>$row[8],
"release_year"=>$row[9],
"movie_genre"=>$row[10],
"movie_rating"=>$row[11],
"movie_country"=>$row[12],
"movie_runtime"=>$row[13],
"is_featured"=>$row[14],
"views_count"=>$row[15], 
)
);
          }  
  
  
// #### END HOME MOVIES (Recently Added) SECTION ####
  
  
  
// #### START HOME TV Shows (Featured) SECTION ####
  
  $home_tv_shows_section_featured_tab 
"SELECT * FROM tv_shows_info WHERE is_featured = 'Yes' ORDER BY tv_show_id ASC LIMIT 0, 12";
  $result_home_tv_shows_section_featured_tab mysqli_query($conn,$home_tv_shows_section_featured_tab);
  
  $json_array_home_tv_shows_section_featured_tab 
= array(); 
  
  
while($row mysqli_fetch_array($result_home_tv_shows_section_featured_tab))  
          
{                  
array_push
($json_array_home_tv_shows_section_featured_tab, array(
"tv_show_id"=>$row[0], 
"tv_show_name"=>$row[1], 
"tv_show_original_name"=>$row[2],
"tv_show_image"=>$row[3],
"tv_show_description"=>$row[4],
"tv_show_stars"=>$row[5],
"tv_show_director"=>$row[6],
"tv_show_trailer"=>$row[7],
"tv_show_episodes"=>$row[8],
"tv_show_start_year"=>$row[9],
"tv_show_end_year"=>$row[10],
"tv_show_genre"=>$row[11],
"tv_show_rating"=>$row[12],
"tv_show_country"=>$row[13],
"tv_show_runtime"=>$row[14],
"is_featured"=>$row[15],
"views_count"=>$row[16],
)
);
          }
  
  
// #### END HOME FEATURED (TV Shows) SECTION ####
  
  
  
// #### START HOME TV Shows (Top Viewed) SECTION ####
  
  $home_tv_shows_section_top_viewed_tab 
"SELECT * FROM tv_shows_info ORDER BY views_count DESC LIMIT 0, 12";
  $result_home_tv_shows_section_top_viewed_tab mysqli_query($conn,$home_tv_shows_section_top_viewed_tab);
  
  $json_array_home_tv_shows_section_top_viewed_tab 
= array(); 
  
  
while($row mysqli_fetch_array($result_home_tv_shows_section_top_viewed_tab))  
          
{                  
array_push
($json_array_home_tv_shows_section_top_viewed_tab, array(
"tv_show_id"=>$row[0], 
"tv_show_name"=>$row[1], 
"tv_show_original_name"=>$row[2],
"tv_show_image"=>$row[3],
"tv_show_description"=>$row[4],
"tv_show_stars"=>$row[5],
"tv_show_director"=>$row[6],
"tv_show_trailer"=>$row[7],
"tv_show_episodes"=>$row[8],
"tv_show_start_year"=>$row[9],
"tv_show_end_year"=>$row[10],
"tv_show_genre"=>$row[11],
"tv_show_rating"=>$row[12],
"tv_show_country"=>$row[13],
"tv_show_runtime"=>$row[14],
"is_featured"=>$row[15],
"views_count"=>$row[16],
)
);
          }
  
  
// #### END HOME TV Shows (Top Viewed) SECTION ####
  
  
  
// #### START HOME TV Shows (Top Rating) SECTION ####
  
  $home_tv_shows_section_top_rating_tab 
"SELECT * FROM tv_shows_info ORDER BY tv_show_rating DESC LIMIT 0, 12";
  $result_home_tv_shows_section_top_rating_tab mysqli_query($conn,$home_tv_shows_section_top_rating_tab);
  
  $json_array_home_tv_shows_section_top_rating_tab 
= array(); 
  
  
while($row mysqli_fetch_array($result_home_tv_shows_section_top_rating_tab))  
          
{                  
array_push
($json_array_home_tv_shows_section_top_rating_tab, array(
"tv_show_id"=>$row[0], 
"tv_show_name"=>$row[1], 
"tv_show_original_name"=>$row[2],
"tv_show_image"=>$row[3],
"tv_show_description"=>$row[4],
"tv_show_stars"=>$row[5],
"tv_show_director"=>$row[6],
"tv_show_trailer"=>$row[7],
"tv_show_episodes"=>$row[8],
"tv_show_start_year"=>$row[9],
"tv_show_end_year"=>$row[10],
"tv_show_genre"=>$row[11],
"tv_show_rating"=>$row[12],
"tv_show_country"=>$row[13],
"tv_show_runtime"=>$row[14],
"is_featured"=>$row[15],
"views_count"=>$row[16],
)
);
          }
  
  
// #### END HOME TV Shows (Top Rating) SECTION ####
  
  
  
// #### START HOME TV Shows (Recently Added) SECTION ####
  
  $home_tv_shows_section_recently_added_tab 
"SELECT * FROM tv_shows_info ORDER BY tv_show_id DESC LIMIT 0, 12";
  $result_home_tv_shows_section_recently_added_tab mysqli_query($conn,$home_tv_shows_section_recently_added_tab);
  
  $json_array_home_tv_shows_section_recently_added_tab 
= array(); 
  
  
while($row mysqli_fetch_array($result_home_tv_shows_section_recently_added_tab))  
          
{                  
array_push
($json_array_home_tv_shows_section_recently_added_tab, array(
"tv_show_id"=>$row[0], 
"tv_show_name"=>$row[1], 
"tv_show_original_name"=>$row[2],
"tv_show_image"=>$row[3],
"tv_show_description"=>$row[4],
"tv_show_stars"=>$row[5],
"tv_show_director"=>$row[6],
"tv_show_trailer"=>$row[7],
"tv_show_episodes"=>$row[8],
"tv_show_start_year"=>$row[9],
"tv_show_end_year"=>$row[10],
"tv_show_genre"=>$row[11],
"tv_show_rating"=>$row[12],
"tv_show_country"=>$row[13],
"tv_show_runtime"=>$row[14],
"is_featured"=>$row[15],
"views_count"=>$row[16],
)
);
          }
  
  
// #### END HOME TV Shows (Recently Added) SECTION ####
  
          
  
echo json_encode (
array(
"Home Banners"=>$json_array_home_banners,
"Featured (Movies)"=>$json_array_home_featured_movies,
"Featured (TV Shows)"=>$json_array_home_featured_tv_shows,
"Movies (Featured)"=>$json_array_home_movies_section_featured_tab,
"Movies (Top Viewed)"=>$json_array_home_movies_section_top_viewed_tab,
"Movies (Top Rating)"=>$json_array_home_movies_section_top_rating_tab,
"Movies (Recently Added)"=>$json_array_home_movies_section_recently_added_tab,
"TV Shows (Featured)"=>$json_array_home_tv_shows_section_featured_tab,
"TV Shows (Top Viewed)"=>$json_array_home_tv_shows_section_top_viewed_tab,
"TV Shows (Top Rating)"=>$json_array_home_tv_shows_section_top_rating_tab,
"TV Shows (Recently Added)"=>$json_array_home_tv_shows_section_recently_added_tab,
));
  
            ?>




Output Response : 

{
"Home Banners": [
 {
 "banner_id": "1",
 "banner_title": "Tarzan",
 "banner_image": "images/banners/tarzan-banner.jpg",
 "banner_description": "Tarzan, having acclimated to life in London, is called back to his former home in the jungle to investigate the activities at a mining encampment.",
 "enable": "Yes"
 },
 {
 "banner_id": "2",
 "banner_title": "Maximum Ride",
 "banner_image": "images/banners/2.jpg",
 "banner_description": "Six children, genetically cross-bred with avian DNA, take flight around the country to discover their origins. Along the way, their mysterious past is ...",
 "enable": "Yes"
 },
 {
 "banner_id": "3",
 "banner_title": "Independence",
 "banner_image": "images/banners/3.jpg",
 "banner_description": "The fate of humanity hangs in the balance as the U.S. President and citizens decide if these aliens are to be trusted ...or feared.",
 "enable": "Yes"
 }
 ],
"Featured (Movies)": [
 {
 "movie_id": "79",
 "movie_name": "Thevar Magan",
 "movie_original_name": "Thevar Magan",
 "movie_image": "images/movies/thevar-magan-poster.jpg",
 "movie_description": "<p>The urbane son of a village chieftain struggles between his personal aspirations and those of his family.</p>\r\n",
 "movie_stars": "Kamal Haasan,Shivaji Ganesan,Nassar",
 "movie_director": "Bharathan",
 "movie_trailer": "Yhu1RKuHqd4",
 "release_date": "1992-10-25",
 "release_year": "1992",
 "movie_genre": "Drama",
 "movie_rating": "8.8",
 "movie_country": "India",
 "movie_runtime": " 145 min",
 "is_featured": "Yes",
 "views_count": "2"
 }
 ],
"Featured (TV Shows)": [
 {
 "tv_show_id": "20",
 "tv_show_name": "Arrested Development",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/arrested-development-poster.jpg",
 "tv_show_description": "<p>Level-headed son Michael Bluth takes over family affairs after his father is imprisoned. But the rest of his spoiled, dysfunctional family are making his job unbearable.</p>\r\n",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "kM5O9LC2xa8",
 "tv_show_episodes": "84*",
 "tv_show_start_year": "2003",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Comedy",
 "tv_show_rating": "8.9",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "10"
 },
 {
 "tv_show_id": "19",
 "tv_show_name": "Homeland",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/homeland-poster.jpg",
 "tv_show_description": "A bipolar CIA operative becomes convinced a prisoner of war has been turned by al-Qaeda and is planning to carry out a terrorist attack on American soil.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "KyFmS3wRPCQ",
 "tv_show_episodes": "96",
 "tv_show_start_year": "2011",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Crime,Drama,Mystery",
 "tv_show_rating": "8.4",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "2"
 },
 {
 "tv_show_id": "18",
 "tv_show_name": "Westworld",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/westworld-poster.jpg",
 "tv_show_description": "Set at the intersection of the near future and the reimagined past, explore a world in which every human appetite can be indulged without consequence.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "IuS5huqOND4",
 "tv_show_episodes": "22",
 "tv_show_start_year": "2016",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Drama,Mystery,Sci-Fi",
 "tv_show_rating": "8.9",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "5"
 }
 ],
"Movies (Featured)": [
 {
 "movie_id": "1",
 "movie_name": "The Jungle Book",
 "movie_original_name": "The Jungle Book",
 "movie_image": "images/movies/jungle-book-poster.jpg",
 "movie_description": "After a threat from the tiger Shere Khan forces him to flee the jungle, a man-cub named Mowgli embarks on a journey of self discovery with the help of panther Bagheera and free-spirited bear Baloo.",
 "movie_stars": "Neel Sethi, Bill Murray, Ben Kingsley",
 "movie_director": "Jon Favreau",
 "movie_trailer": "HcgJRQWxKnw",
 "release_date": "2016-04-15",
 "release_year": "2016",
 "movie_genre": "Adventure,Drama,Family,Fantasy",
 "movie_rating": "7.4",
 "movie_country": "UK,USA",
 "movie_runtime": "106 min",
 "is_featured": "Yes",
 "views_count": "36"
 },
 {
 "movie_id": "2",
 "movie_name": "Central Intelligence",
 "movie_original_name": "Central Intelligence",
 "movie_image": "images/movies/central-intelligence-poster.jpg",
 "movie_description": "After he reconnects with an awkward pal from high school through Facebook, a mild-mannered accountant is lured into the world of international espionage.",
 "movie_stars": "Dwayne Johnson, Kevin Hart, Jason Bateman, Aaron Paul, Amy Ryan, Ryan Hansen, Danielle Nicolet, Tim Griffin",
 "movie_director": "Rawson Marshall Thurber",
 "movie_trailer": "MxEw3elSJ8M",
 "release_date": "2016-06-17",
 "release_year": "2016",
 "movie_genre": "Action,Comedy,Crime",
 "movie_rating": "6.3",
 "movie_country": "USA,China",
 "movie_runtime": "107 min",
 "is_featured": "Yes",
 "views_count": "71"
 },
 {
 "movie_id": "3",
 "movie_name": "Jason Bourne",
 "movie_original_name": "Jason Bourne",
 "movie_image": "images/movies/jason-bourne-poster.jpg",
 "movie_description": "The CIA's most dangerous former operative is drawn out of hiding to uncover more explosive truths about his past.",
 "movie_stars": "Matt Damon, Tommy Lee Jones, Alicia Vikander",
 "movie_director": "Paul Greengras",
 "movie_trailer": "LuK4AiiB1Vk",
 "release_date": "2016-06-29",
 "release_year": "2016",
 "movie_genre": "Action,Thriller",
 "movie_rating": "6.6",
 "movie_country": "USA,China",
 "movie_runtime": "123 min",
 "is_featured": "Yes",
 "views_count": "31"
 },
 {
 "movie_id": "6",
 "movie_name": "Dead 7",
 "movie_original_name": "Dead 7",
 "movie_image": "images/movies/dead-7-poster.jpg",
 "movie_description": "A post-apocalyptic Western that follows a group of gunslingers as they look to rid a small town of a zombie plague.",
 "movie_stars": "Nick Carter, Carrie Keagan, Joey Fatone",
 "movie_director": "Danny Roew",
 "movie_trailer": "FYHGujAx-xY",
 "release_date": "2016-04-01",
 "release_year": "2016",
 "movie_genre": "Comedy,Horror,Western",
 "movie_rating": "3.1",
 "movie_country": "USA",
 "movie_runtime": "89 min",
 "is_featured": "Yes",
 "views_count": "0"
 },
 {
 "movie_id": "7",
 "movie_name": "24",
 "movie_original_name": "24",
 "movie_image": "images/movies/24-poster.jpg",
 "movie_description": "A scientist invents a time machine, which leads to a bitter battle between his evil twin brother and his son.",
 "movie_stars": "Suriya, Samantha Ruth Prabhu, Nithya Menon",
 "movie_director": "Vikram K. Kumar",
 "movie_trailer": "wqXE_es_I3M",
 "release_date": "2016-05-06",
 "release_year": "2016",
 "movie_genre": "Action,Sci-Fi,Thriller",
 "movie_rating": "7.9",
 "movie_country": "India",
 "movie_runtime": "164 min",
 "is_featured": "Yes",
 "views_count": "4"
 },
 {
 "movie_id": "8",
 "movie_name": "The Legend of Tarzan",
 "movie_original_name": "The Legend of Tarzan",
 "movie_image": "images/movies/the-legend-of-tarzan-poster.jpg",
 "movie_description": "Tarzan, having acclimated to life in London, is called back to his former home in the jungle to investigate the activities at a mining encampment.",
 "movie_stars": "Alexander Skarsg?rd, Rory J. Saper, Christian Stevens",
 "movie_director": "David Yates",
 "movie_trailer": "Aj7ty6sViiU",
 "release_date": "2016-07-01",
 "release_year": "2016",
 "movie_genre": "Action,Adventure,Drama,Fantasy,Romance",
 "movie_rating": "6.3",
 "movie_country": "UK,Canada,USA",
 "movie_runtime": "110 min",
 "is_featured": "Yes",
 "views_count": "12"
 },
 {
 "movie_id": "9",
 "movie_name": "Moana",
 "movie_original_name": "Moana",
 "movie_image": "images/movies/moana-poster.jpg",
 "movie_description": "In Ancient Polynesia, when a terrible curse incurred by the Demigod Maui reaches Moana's island, she answers the Ocean's call to seek out the Demigod to set things right.",
 "movie_stars": "Auli'i Cravalho, Dwayne Johnson, Rachel House",
 "movie_director": "Ron Clements, John Musker",
 "movie_trailer": "LKFuXETZUsI",
 "release_date": "2016-11-23",
 "release_year": "2016",
 "movie_genre": "Animation,Adventure,Comedy,Family,Fantasy,Musical",
 "movie_rating": "7.6",
 "movie_country": "USA",
 "movie_runtime": "107 min",
 "is_featured": "Yes",
 "views_count": "4"
 },
 {
 "movie_id": "10",
 "movie_name": "Dirty Grandpa",
 "movie_original_name": "Dirty Grandpa",
 "movie_image": "images/movies/dirty-grandpa-poster.jpg",
 "movie_description": "Right before his wedding, an uptight guy is tricked into driving his grandfather, a lecherous former Army Lieutenant Colonel, to Florida for Spring Break.",
 "movie_stars": "Robert De Niro, Zac Efron, Zoey Deutch",
 "movie_director": "Dan Mazer",
 "movie_trailer": "cg8plmKLqz8",
 "release_date": "2016-01-22",
 "release_year": "2016",
 "movie_genre": "Comedy",
 "movie_rating": "5.9",
 "movie_country": "USA",
 "movie_runtime": "102 min",
 "is_featured": "Yes",
 "views_count": "1"
 },
 {
 "movie_id": "11",
 "movie_name": "Ride Along 2",
 "movie_original_name": "Ride Along 2",
 "movie_image": "images/movies/ride-along-2-poster.jpg",
 "movie_description": "As his wedding day approaches, Ben heads to Miami with his soon-to-be brother-in-law James to bring down a drug dealer who's supplying the dealers of Atlanta with product.",
 "movie_stars": "Ice Cube, Kevin Hart, Tika Sumpter",
 "movie_director": "Tim Story",
 "movie_trailer": "iWfmmwdCHTg",
 "release_date": "2016-01-15",
 "release_year": "2016",
 "movie_genre": "Action,Comedy",
 "movie_rating": "5.9",
 "movie_country": "USA",
 "movie_runtime": "102 min",
 "is_featured": "Yes",
 "views_count": "7"
 },
 {
 "movie_id": "12",
 "movie_name": "Don't Think Twice",
 "movie_original_name": "Don't Think Twice",
 "movie_image": "images/movies/dont-think-twice-poster.jpg",
 "movie_description": "When a member of a popular New York City improv troupe gets a huge break, the rest of the group - all best friends - start to realize that not everyone is going to make it after all.",
 "movie_stars": "Keegan-Michael Key, Gillian Jacobs, Mike Birbiglia",
 "movie_director": "Mike Birbiglia",
 "movie_trailer": "iPwIBBuJps0",
 "release_date": "2016-07-22",
 "release_year": "2016",
 "movie_genre": "Comedy,Drama",
 "movie_rating": "6.8",
 "movie_country": "USA",
 "movie_runtime": "92 min",
 "is_featured": "Yes",
 "views_count": "4"
 }
 ],
"Movies (Top Viewed)": [
 {
 "movie_id": "2",
 "movie_name": "Central Intelligence",
 "movie_original_name": "Central Intelligence",
 "movie_image": "images/movies/central-intelligence-poster.jpg",
 "movie_description": "After he reconnects with an awkward pal from high school through Facebook, a mild-mannered accountant is lured into the world of international espionage.",
 "movie_stars": "Dwayne Johnson, Kevin Hart, Jason Bateman, Aaron Paul, Amy Ryan, Ryan Hansen, Danielle Nicolet, Tim Griffin",
 "movie_director": "Rawson Marshall Thurber",
 "movie_trailer": "MxEw3elSJ8M",
 "release_date": "2016-06-17",
 "release_year": "2016",
 "movie_genre": "Action,Comedy,Crime",
 "movie_rating": "6.3",
 "movie_country": "USA,China",
 "movie_runtime": "107 min",
 "is_featured": "Yes",
 "views_count": "71"
 },
 {
 "movie_id": "75",
 "movie_name": "Mission: Impossible - Fallout",
 "movie_original_name": "Mission: Impossible - Fallout",
 "movie_image": "images/movies/mission-impossible-fallout-poster.jpg",
 "movie_description": "Ethan Hunt and his IMF team, along with some familiar allies, race against time after a mission gone wrong.",
 "movie_stars": "Tom Cruise, Henry Cavill, Ving Rhames",
 "movie_director": "Christopher McQuarrie",
 "movie_trailer": "wb49-oV0F78",
 "release_date": "2018-07-27",
 "release_year": "2018",
 "movie_genre": "Action, Thriller, Adventure",
 "movie_rating": "8.6",
 "movie_country": "USA",
 "movie_runtime": "147 min",
 "is_featured": "Yes",
 "views_count": "46"
 },
 {
 "movie_id": "1",
 "movie_name": "The Jungle Book",
 "movie_original_name": "The Jungle Book",
 "movie_image": "images/movies/jungle-book-poster.jpg",
 "movie_description": "After a threat from the tiger Shere Khan forces him to flee the jungle, a man-cub named Mowgli embarks on a journey of self discovery with the help of panther Bagheera and free-spirited bear Baloo.",
 "movie_stars": "Neel Sethi, Bill Murray, Ben Kingsley",
 "movie_director": "Jon Favreau",
 "movie_trailer": "HcgJRQWxKnw",
 "release_date": "2016-04-15",
 "release_year": "2016",
 "movie_genre": "Adventure,Drama,Family,Fantasy",
 "movie_rating": "7.4",
 "movie_country": "UK,USA",
 "movie_runtime": "106 min",
 "is_featured": "Yes",
 "views_count": "36"
 },
 {
 "movie_id": "3",
 "movie_name": "Jason Bourne",
 "movie_original_name": "Jason Bourne",
 "movie_image": "images/movies/jason-bourne-poster.jpg",
 "movie_description": "The CIA's most dangerous former operative is drawn out of hiding to uncover more explosive truths about his past.",
 "movie_stars": "Matt Damon, Tommy Lee Jones, Alicia Vikander",
 "movie_director": "Paul Greengras",
 "movie_trailer": "LuK4AiiB1Vk",
 "release_date": "2016-06-29",
 "release_year": "2016",
 "movie_genre": "Action,Thriller",
 "movie_rating": "6.6",
 "movie_country": "USA,China",
 "movie_runtime": "123 min",
 "is_featured": "Yes",
 "views_count": "31"
 },
 {
 "movie_id": "25",
 "movie_name": "Tangled",
 "movie_original_name": "Tangled",
 "movie_image": "images/movies/tangled-poster.jpg",
 "movie_description": "The magically long-haired Rapunzel has spent her entire life in a tower, but now that a runaway thief has stumbled upon her, she is about to discover the world for the first time, and who she really is.",
 "movie_stars": "Mandy Moore, Zachary Levi, Donna Murphy",
 "movie_director": "Nathan Greno, Byron Howard",
 "movie_trailer": "2f516ZLyC6U",
 "release_date": "2010-11-24",
 "release_year": "2010",
 "movie_genre": "Animation,Adventure,Comedy,Family,Fantasy,Musical,Romance",
 "movie_rating": "7.8",
 "movie_country": "USA",
 "movie_runtime": "100 min",
 "is_featured": "Yes",
 "views_count": "31"
 },
 {
 "movie_id": "26",
 "movie_name": "Ratatouille",
 "movie_original_name": "Ratatouille",
 "movie_image": "images/movies/ratatouille-poster.jpg",
 "movie_description": "A rat who can cook makes an unusual alliance with a young kitchen worker at a famous restaurant.",
 "movie_stars": "Brad Garrett, Lou Romano, Patton Oswalt",
 "movie_director": "Brad Bird, Jan Pinkava (co-director)",
 "movie_trailer": "e8GBfNo3IHY",
 "release_date": "2007-06-29",
 "release_year": "2007",
 "movie_genre": "Animation,Adventure,Comedy,Drama,Family,Fantasy",
 "movie_rating": "8",
 "movie_country": "USA",
 "movie_runtime": "111 min",
 "is_featured": "Yes",
 "views_count": "20"
 },
 {
 "movie_id": "22",
 "movie_name": "Beyond the Edge",
 "movie_original_name": "ISRA 88",
 "movie_image": "images/movies/isra-88-poster.jpg",
 "movie_description": "A scientist and a pilot volunteer for a high profile mission to reach the end of the universe. After 13 years, the ship crashes through the end of the universe and into the unknown.",
 "movie_stars": "Casper Van Dien, Sean Maher, Adrienne Barbeau",
 "movie_director": "Thomas Zellen",
 "movie_trailer": "u4prn8EXG3k",
 "release_date": "2017-02-07",
 "release_year": "2017",
 "movie_genre": "Adventure,Mystery,Sci-Fi,Thriller",
 "movie_rating": "3.8",
 "movie_country": "USA",
 "movie_runtime": "119 min",
 "is_featured": "Yes",
 "views_count": "18"
 },
 {
 "movie_id": "8",
 "movie_name": "The Legend of Tarzan",
 "movie_original_name": "The Legend of Tarzan",
 "movie_image": "images/movies/the-legend-of-tarzan-poster.jpg",
 "movie_description": "Tarzan, having acclimated to life in London, is called back to his former home in the jungle to investigate the activities at a mining encampment.",
 "movie_stars": "Alexander Skarsg?rd, Rory J. Saper, Christian Stevens",
 "movie_director": "David Yates",
 "movie_trailer": "Aj7ty6sViiU",
 "release_date": "2016-07-01",
 "release_year": "2016",
 "movie_genre": "Action,Adventure,Drama,Fantasy,Romance",
 "movie_rating": "6.3",
 "movie_country": "UK,Canada,USA",
 "movie_runtime": "110 min",
 "is_featured": "Yes",
 "views_count": "12"
 },
 {
 "movie_id": "16",
 "movie_name": "Mechanic: Resurrection",
 "movie_original_name": "Mechanic: Resurrection",
 "movie_image": "images/movies/mechanic-resurrection-poster.jpg",
 "movie_description": "Bishop thought he had put his murderous past behind him, until his most formidable foe kidnaps the love of his life. Now he is forced to complete three impossible assassinations, and do what he does best: make them look like accidents.",
 "movie_stars": "Jason Statham, Jessica Alba, Tommy Lee Jones",
 "movie_director": "Dennis Gansel",
 "movie_trailer": "QF903RaKLvs",
 "release_date": "2016-08-26",
 "release_year": "2016",
 "movie_genre": "Action,Adventure,Crime,Thriller",
 "movie_rating": "5.7",
 "movie_country": "France,USA",
 "movie_runtime": "98 min",
 "is_featured": "Yes",
 "views_count": "12"
 },
 {
 "movie_id": "24",
 "movie_name": "Thamizh Padam 2",
 "movie_original_name": "Thamizh Padam 2",
 "movie_image": "images/movies/thamizh-padam-2-poster.jpg",
 "movie_description": "A stringent cop tries all the possible ways to nab a dreaded don who poses a big threat to the society.",
 "movie_stars": "Shiva, Iswarya Menon, Disha Pandey",
 "movie_director": "C.S. Amudhan",
 "movie_trailer": "vFWlCsjWFMw",
 "release_date": "2018-07-12",
 "release_year": "2018",
 "movie_genre": "Comedy",
 "movie_rating": "7.7",
 "movie_country": "India",
 "movie_runtime": "143 min",
 "is_featured": "Yes",
 "views_count": "11"
 },
 {
 "movie_id": "46",
 "movie_name": "Mamma Mia! Here We Go Again",
 "movie_original_name": "Mamma Mia! Here We Go Again",
 "movie_image": "images/movies/mamma-mia-here-we-go-again.jpg",
 "movie_description": "Five years after the events of Mamma Mia! (2008), Sophie learns about her mother's past while pregnant herself.",
 "movie_stars": "Lily James,Amanda Seyfried,Meryl Streep",
 "movie_director": "Ol Parker",
 "movie_trailer": "wLXDrfgnBfI",
 "release_date": "2018-07-20",
 "release_year": "2018",
 "movie_genre": "Comedy,Musical",
 "movie_rating": "7.3",
 "movie_country": "UK,USA",
 "movie_runtime": "114 min",
 "is_featured": "Yes",
 "views_count": "11"
 },
 {
 "movie_id": "4",
 "movie_name": "X-Men: Apocalypse",
 "movie_original_name": "X-Men: Apocalypse",
 "movie_image": "images/movies/x-men-apocalypse-poster.jpg",
 "movie_description": "After the re-emergence of the world's first mutant, the world-destroyer Apocalypse, the X-Men must unite to defeat his extinction level plan.",
 "movie_stars": "James McAvoy, Michael Fassbender, Jennifer Lawrence",
 "movie_director": "Bryan Singer",
 "movie_trailer": "COvnHv42T-A",
 "release_date": "2016-05-27",
 "release_year": "2016",
 "movie_genre": "Action,Adventure,Sci-Fi",
 "movie_rating": "7",
 "movie_country": "USA",
 "movie_runtime": "144 min",
 "is_featured": "Yes",
 "views_count": "9"
 }
 ],
"Movies (Top Rating)": [
 {
 "movie_id": "52",
 "movie_name": "The Dark Knight",
 "movie_original_name": "The Dark Knight",
 "movie_image": "images/movies/the-dark-knight-poster.jpg",
 "movie_description": "When the menace known as the Joker emerges from his mysterious past, he wreaks havoc and chaos on the people of Gotham. The Dark Knight must accept one of the greatest psychological and physical tests of his ability to fight injustice.",
 "movie_stars": "Christian Bale,Heath Ledger,Aaron Eckhart",
 "movie_director": "Christopher Nolan",
 "movie_trailer": "5y2szViJlaY",
 "release_date": "2008-07-18",
 "release_year": "2016",
 "movie_genre": "Action,Crime,Drama,Thriller",
 "movie_rating": "9",
 "movie_country": "USA,UK",
 "movie_runtime": "152 min",
 "is_featured": "Yes",
 "views_count": "0"
 },
 {
 "movie_id": "53",
 "movie_name": "Inception",
 "movie_original_name": "Inception",
 "movie_image": "images/movies/inception-poster.jpg",
 "movie_description": "A thief, who steals corporate secrets through the use of dream-sharing technology, is given the inverse task of planting an idea into the mind of a CEO.",
 "movie_stars": "Leonardo DiCaprio, Joseph Gordon-Levitt, Ellen Page",
 "movie_director": "Christopher Nolan",
 "movie_trailer": "YoHD9XEInc0",
 "release_date": "2010-07-16",
 "release_year": "2010",
 "movie_genre": "Action,Adventure,Sci-Fi,Thriller",
 "movie_rating": "8.8",
 "movie_country": "USA,UK",
 "movie_runtime": "148 min",
 "is_featured": "Yes",
 "views_count": "1"
 },
 {
 "movie_id": "79",
 "movie_name": "Thevar Magan",
 "movie_original_name": "Thevar Magan",
 "movie_image": "images/movies/thevar-magan-poster.jpg",
 "movie_description": "<p>The urbane son of a village chieftain struggles between his personal aspirations and those of his family.</p>\r\n",
 "movie_stars": "Kamal Haasan,Shivaji Ganesan,Nassar",
 "movie_director": "Bharathan",
 "movie_trailer": "Yhu1RKuHqd4",
 "release_date": "1992-10-25",
 "release_year": "1992",
 "movie_genre": "Drama",
 "movie_rating": "8.8",
 "movie_country": "India",
 "movie_runtime": " 145 min",
 "is_featured": "Yes",
 "views_count": "2"
 },
 {
 "movie_id": "55",
 "movie_name": "Interstellar",
 "movie_original_name": "Interstellar",
 "movie_image": "images/movies/interstellar-poster.jpg",
 "movie_description": "A team of explorers travel through a wormhole in space in an attempt to ensure humanity's survival.",
 "movie_stars": "Matthew McConaughey,Anne Hathaway,Jessica Chastain",
 "movie_director": "Christopher Nolan",
 "movie_trailer": "ZA7DuE8k6BY",
 "release_date": "2014-11-07",
 "release_year": "2014",
 "movie_genre": "Adventure,Drama,Sci-Fi",
 "movie_rating": "8.6",
 "movie_country": "USA,UK",
 "movie_runtime": "169 min",
 "is_featured": "Yes",
 "views_count": "0"
 },
 {
 "movie_id": "60",
 "movie_name": "Thalapathi",
 "movie_original_name": "Thalapathi",
 "movie_image": "images/movies/thalapathi-poster.jpg",
 "movie_description": "An orphan named Surya raised in a slum befriends a good crime boss named Devaraj and works for him. Their existence is threatened when a new honest district collector arrives.",
 "movie_stars": "Rajinikanth,Mammootty,Shobana",
 "movie_director": "Mani Ratnam",
 "movie_trailer": "pC5yWXqb8Ys",
 "release_date": "1991-11-25",
 "release_year": "1991",
 "movie_genre": "Action,Crime,Drama",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "157 min",
 "is_featured": "Yes",
 "views_count": "2"
 },
 {
 "movie_id": "61",
 "movie_name": "Mouna Ragam",
 "movie_original_name": "Mouna Ragam",
 "movie_image": "images/movies/mouna-ragam-poster.jpg",
 "movie_description": "Divya, a woman grieving over the death of her lover, is convinced into an arranged marriage with Chandra Kumar. Over a year the couple attempt to adjust to each other's presence and live with each other.",
 "movie_stars": "Karthik,Mohan,V.K. Ramasami",
 "movie_director": "Mani Ratnam",
 "movie_trailer": "RFcDcdOmQos",
 "release_date": "1986-08-15",
 "release_year": "1986",
 "movie_genre": "Drama,Romance",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "146 min",
 "is_featured": "Yes",
 "views_count": "0"
 },
 {
 "movie_id": "62",
 "movie_name": "Moondram Pirai",
 "movie_original_name": "Moondram Pirai",
 "movie_image": "images/movies/moondram-pirai-poster.jpg",
 "movie_description": "A young woman regresses to childhood after suffering a head injury in a car crash. Lost, she ends up trapped at a brothel before being rescued by a lonely school teacher who falls in love with her.",
 "movie_stars": "Kamal Haasan,Sridevi,Poornam Vishwanathan",
 "movie_director": "Balu Mahendra",
 "movie_trailer": "fYripvHdOcc",
 "release_date": "1982-02-19",
 "release_year": "1982",
 "movie_genre": "Drama,Romance",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "143 min",
 "is_featured": "Yes",
 "views_count": "0"
 },
 {
 "movie_id": "63",
 "movie_name": "Thillu Mullu",
 "movie_original_name": "Thillu Mullu",
 "movie_image": "images/movies/thillu-mullu-poster.jpg",
 "movie_description": "Chandran , a young man fools his boss and attempts to woo his boss' daughter.",
 "movie_stars": "Rajinikanth,Madhavi,Thengai Srinivasan",
 "movie_director": "K. Balachander",
 "movie_trailer": "4d2OwVImCTI",
 "release_date": "1981-05-01",
 "release_year": "1981",
 "movie_genre": "Comedy",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "136 min",
 "is_featured": "Yes",
 "views_count": "1"
 },
 {
 "movie_id": "64",
 "movie_name": "Aaranya Kaandam",
 "movie_original_name": "Aaranya Kaandam",
 "movie_image": "images/movies/aaranya-kaandam-poster.jpg",
 "movie_description": "A mob boss must deal with a disgruntled mistress and a vanishing bag of cocaine.",
 "movie_stars": "Sampath Raj,Jackie Shroff,Ravi Krishna",
 "movie_director": "Thiagarajan Kumararaja",
 "movie_trailer": "qBJ_UpyQw_s",
 "release_date": "2011-06-10",
 "release_year": "2017",
 "movie_genre": "Action,Comedy,Crime",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "153 min",
 "is_featured": "Yes",
 "views_count": "1"
 },
 {
 "movie_id": "65",
 "movie_name": "Joker",
 "movie_original_name": "Joker",
 "movie_image": "images/movies/joker-poster.jpg",
 "movie_description": "Mannar (protagonist), a villager who declares himself to be the Indian President, protests the absurdities of the government.",
 "movie_stars": "Guru Somasundaram,Ramya Pandiyan,Gayathri",
 "movie_director": "Raju Murugan",
 "movie_trailer": "4xr59w5r6Hw",
 "release_date": "2016-08-12",
 "release_year": "2016",
 "movie_genre": "Comedy,Drama",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "130 min",
 "is_featured": "Yes",
 "views_count": "0"
 },
 {
 "movie_id": "66",
 "movie_name": "Kuruthipunal",
 "movie_original_name": "Kuruthipunal",
 "movie_image": "images/movies/kuruthipunal-poster.jpg",
 "movie_description": "Two brave police officers infiltrate a terror group in order to bring it down.",
 "movie_stars": "Kamal Haasan,Arjun,Nassar",
 "movie_director": "P.C. Sreeram",
 "movie_trailer": "U3AMytkiAuk",
 "release_date": "1995-10-23",
 "release_year": "1995",
 "movie_genre": "Action,Drama,Thriller",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "143 min",
 "is_featured": "Yes",
 "views_count": "1"
 },
 {
 "movie_id": "67",
 "movie_name": "Iruvar",
 "movie_original_name": "Iruvar",
 "movie_image": "images/movies/iruvar-poster.jpg",
 "movie_description": "The real-life rivalry between M.G. Ramachandran and Karunanidhi is given the Mani Ratnam treatment.",
 "movie_stars": "Mohanlal,Prakash Raj,Aishwarya Rai Bachchan",
 "movie_director": "Mani Ratnam",
 "movie_trailer": "ChPknzchAOs",
 "release_date": "1997-01-14",
 "release_year": "1997",
 "movie_genre": "Biography,Drama",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "140 min",
 "is_featured": "Yes",
 "views_count": "0"
 }
 ],
"Movies (Recently Added)": [
 {
 "movie_id": "79",
 "movie_name": "Thevar Magan",
 "movie_original_name": "Thevar Magan",
 "movie_image": "images/movies/thevar-magan-poster.jpg",
 "movie_description": "<p>The urbane son of a village chieftain struggles between his personal aspirations and those of his family.</p>\r\n",
 "movie_stars": "Kamal Haasan,Shivaji Ganesan,Nassar",
 "movie_director": "Bharathan",
 "movie_trailer": "Yhu1RKuHqd4",
 "release_date": "1992-10-25",
 "release_year": "1992",
 "movie_genre": "Drama",
 "movie_rating": "8.8",
 "movie_country": "India",
 "movie_runtime": " 145 min",
 "is_featured": "Yes",
 "views_count": "2"
 },
 {
 "movie_id": "78",
 "movie_name": "Jaws",
 "movie_original_name": "Jaws",
 "movie_image": "images/movies/jaws-poster.jpg",
 "movie_description": "A local sheriff, a marine biologist and an old seafarer team up to hunt down a great white shark wrecking havoc in a beach resort.",
 "movie_stars": "Roy Scheider, Robert Shaw, Richard Dreyfuss",
 "movie_director": "Steven Spielberg",
 "movie_trailer": "4pxkU9GVAoA",
 "release_date": "1975-06-20",
 "release_year": "1975",
 "movie_genre": "Adventure,Drama,Thriller",
 "movie_rating": "8",
 "movie_country": "USA",
 "movie_runtime": "124 min",
 "is_featured": "Yes",
 "views_count": "4"
 },
 {
 "movie_id": "77",
 "movie_name": "Fantastic Beasts: The Crimes of Grindelwald",
 "movie_original_name": "Fantastic Beasts: The Crimes of Grindelwald",
 "movie_image": "images/movies/fantastic-beasts-the-crimes-of-grindelwald.jpg",
 "movie_description": "The second installment of the Fantastic Beasts series set in J.K. Rowling's Wizarding World featuring the adventures of magizoologist Newt Scamander. ",
 "movie_stars": " Eddie Redmayne, Katherine Waterston, Dan Fogler",
 "movie_director": "David Yates",
 "movie_trailer": "5sEaYB4rLFQ",
 "release_date": "2018-11-16",
 "release_year": "2018",
 "movie_genre": " Adventure,Family,Fantasy",
 "movie_rating": "2.2",
 "movie_country": "UK,USA",
 "movie_runtime": "125 min",
 "is_featured": "Yes",
 "views_count": "8"
 },
 {
 "movie_id": "76",
 "movie_name": "The Mad Kings",
 "movie_original_name": "Les rois du monde",
 "movie_image": "images/movies/the-mad-kings-poster.jpg",
 "movie_description": "In Casteljaloux, a town in southwestern France, friendship, drunken nights, heat and tall tales set the pace of daily life. And here, men are Kings of the World. But when Jeannot gets out of prison, he has only one thing in mind: to win back Chantal, the love of his life, who moved in with the village butcher while he was serving time. A Greek tragedy that soon takes on the feel of a Western...\n",
 "movie_stars": "Sergi López, Eric Cantona, Céline Sallette",
 "movie_director": "Laurent Laffargue",
 "movie_trailer": "Zr3Rl_m1W8Q",
 "release_date": "2015-09-23",
 "release_year": "2015",
 "movie_genre": "Comedy, Drama",
 "movie_rating": "5.4",
 "movie_country": "France",
 "movie_runtime": "100 min",
 "is_featured": "Yes",
 "views_count": "5"
 },
 {
 "movie_id": "75",
 "movie_name": "Mission: Impossible - Fallout",
 "movie_original_name": "Mission: Impossible - Fallout",
 "movie_image": "images/movies/mission-impossible-fallout-poster.jpg",
 "movie_description": "Ethan Hunt and his IMF team, along with some familiar allies, race against time after a mission gone wrong.",
 "movie_stars": "Tom Cruise, Henry Cavill, Ving Rhames",
 "movie_director": "Christopher McQuarrie",
 "movie_trailer": "wb49-oV0F78",
 "release_date": "2018-07-27",
 "release_year": "2018",
 "movie_genre": "Action, Thriller, Adventure",
 "movie_rating": "8.6",
 "movie_country": "USA",
 "movie_runtime": "147 min",
 "is_featured": "Yes",
 "views_count": "46"
 },
 {
 "movie_id": "74",
 "movie_name": "Roja",
 "movie_original_name": "Roja",
 "movie_image": "images/movies/roja-poster.jpg",
 "movie_description": "A woman from a village in Tamil Nadu marries a sophisticated city dweller and moves with him to Kashmir, where all is rosy - until he gets kidnapped by militants.",
 "movie_stars": "Arvind Swamy,Madhoo,Pankaj Kapur",
 "movie_director": "Mani Ratnam",
 "movie_trailer": "LrcwQfOSxjg",
 "release_date": "1992-08-15",
 "release_year": "1992",
 "movie_genre": "Drama,Romance,Thriller",
 "movie_rating": "8.2",
 "movie_country": "India",
 "movie_runtime": "137 min",
 "is_featured": "Yes",
 "views_count": "0"
 },
 {
 "movie_id": "73",
 "movie_name": "Baasha",
 "movie_original_name": "Baasha",
 "movie_image": "images/movies/baasha-poster.jpg",
 "movie_description": "An auto driver, Manikam, desperately tries to hide his dark underworld side to keep his promise to his father.",
 "movie_stars": "Rajinikanth,Nagma,Raghuvaran",
 "movie_director": "Suresh Krishna",
 "movie_trailer": "r1f-Hlw51wo",
 "release_date": "1995-01-15",
 "release_year": "1995",
 "movie_genre": "Action,Crime,Drama",
 "movie_rating": "8.3",
 "movie_country": "India",
 "movie_runtime": "145 min",
 "is_featured": "Yes",
 "views_count": "1"
 },
 {
 "movie_id": "72",
 "movie_name": "Michael Madana Kamarajan",
 "movie_original_name": "Michael Madana Kamarajan",
 "movie_image": "images/movies/michael-madana-kamarajan-poster.jpg",
 "movie_description": "A comedy of errors with identical quadruplets, separated at birth, coming together as adults.",
 "movie_stars": "Kamal Haasan,Kushboo,Urvashi",
 "movie_director": "Sigitham Srinivasa Rao",
 "movie_trailer": "M5t-TGHwpCg",
 "release_date": "1990-01-01",
 "release_year": "1990",
 "movie_genre": "Comedy",
 "movie_rating": "8.5",
 "movie_country": "India",
 "movie_runtime": "162 min",
 "is_featured": "Yes",
 "views_count": "3"
 },
 {
 "movie_id": "71",
 "movie_name": "A Peck on the Cheek",
 "movie_original_name": "Kannathil Muthamittal",
 "movie_image": "images/movies/kannathil-muthamittal-poster.jpg",
 "movie_description": "A little girl is told by her parents that she is adopted. Determined to find her birth mother, she begs to be taken to Sri Lanka, where her mother works with a militant group of activists.",
 "movie_stars": "Madhavan,Simran,Keerthana Parthiepan",
 "movie_director": "Mani Ratnam",
 "movie_trailer": "QgCUNzuWH5A",
 "release_date": "2002-02-14",
 "release_year": "2002",
 "movie_genre": "Drama,War",
 "movie_rating": "8.5",
 "movie_country": "India",
 "movie_runtime": "123 min",
 "is_featured": "Yes",
 "views_count": "3"
 },
 {
 "movie_id": "70",
 "movie_name": "Dhuruvangal Pathinaaru",
 "movie_original_name": "Dhuruvangal Pathinaaru",
 "movie_image": "images/movies/dhuruvangal-pathinaaru-poster.jpg",
 "movie_description": "A police officer retires after he loses his right leg in an accident while investigating a case. Five years later, he is forced to relive his past as he narrates the story to his friend's son.",
 "movie_stars": "Rahman,Prakash Raghavan,Sharath Kumar",
 "movie_director": "Karthick Naren",
 "movie_trailer": "xpt2jfiL5GY",
 "release_date": "2016-12-29",
 "release_year": "2016",
 "movie_genre": "Action,Crime,Mystery,Thriller",
 "movie_rating": "8.5",
 "movie_country": "India",
 "movie_runtime": "105 min",
 "is_featured": "Yes",
 "views_count": "2"
 },
 {
 "movie_id": "69",
 "movie_name": "Thani Oruvan",
 "movie_original_name": "Thani Oruvan",
 "movie_image": "images/movies/thani-oruvan-poster.jpg",
 "movie_description": "Siddharth Abimanyu, an influential scientist, is involved in various illegal medical practices. Mithran, an efficient IPS officer, decides to expose him.",
 "movie_stars": "Jayam Ravi,Arvind Swamy,Nayanthara",
 "movie_director": "M. Raja",
 "movie_trailer": "r5Lih8rKd6k",
 "release_date": "2015-08-28",
 "release_year": "2015",
 "movie_genre": "Action,Crime,Thriller",
 "movie_rating": "8.5",
 "movie_country": "India",
 "movie_runtime": "160 min",
 "is_featured": "Yes",
 "views_count": "1"
 },
 {
 "movie_id": "68",
 "movie_name": "Mahanadi",
 "movie_original_name": "Mahanadi",
 "movie_image": "images/movies/mahanadi-poster.jpg",
 "movie_description": "A man tries to get his family back in shape after a stint in jail.",
 "movie_stars": "Kamal Haasan,Sukanya,Poornam Vishwanathan",
 "movie_director": "Santhana Bharathi",
 "movie_trailer": "GSMuVPh_cXw",
 "release_date": "1993-01-14",
 "release_year": "2007",
 "movie_genre": "Crime,Drama",
 "movie_rating": "8.6",
 "movie_country": "India",
 "movie_runtime": "162 min",
 "is_featured": "Yes",
 "views_count": "3"
 }
 ],
"TV Shows (Featured)": [
 {
 "tv_show_id": "1",
 "tv_show_name": "Supernatural 1",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/supernatural-poster.jpg",
 "tv_show_description": "Two brothers follow their father's footsteps as \"hunters\", fighting evil supernatural beings of many kinds, including monsters, demons, and gods that roam the earth.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "mmKLq1InbQc",
 "tv_show_episodes": "22",
 "tv_show_start_year": "2005",
 "tv_show_end_year": "2006",
 "tv_show_genre": "Drama,Thriller,Fantasy,Mystery,Horror",
 "tv_show_rating": "8.5",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "6"
 },
 {
 "tv_show_id": "2",
 "tv_show_name": "Breaking Bad",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/breaking-bad-poster.jpg",
 "tv_show_description": "A high school chemistry teacher diagnosed with inoperable lung cancer turns to manufacturing and selling methamphetamine in order to secure his family's future.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "5NpEA2yaWVQ",
 "tv_show_episodes": "62",
 "tv_show_start_year": "2008",
 "tv_show_end_year": "2013",
 "tv_show_genre": "Crime,Drama,Thriller",
 "tv_show_rating": "9.5",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "26"
 },
 {
 "tv_show_id": "3",
 "tv_show_name": "The Walking Dead",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/walking-dead-poster.jpg",
 "tv_show_description": "Sheriff Deputy Rick Grimes wakes up from a coma to learn the world is in ruins, and must lead a group of survivors to stay alive.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "cu2ApTImBKc",
 "tv_show_episodes": "131*",
 "tv_show_start_year": "2010",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Drama,Horror,Thriller",
 "tv_show_rating": "8.4",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "2"
 },
 {
 "tv_show_id": "4",
 "tv_show_name": "Sherlock",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/sherlock-poster.jpg",
 "tv_show_description": "A modern update finds the famous sleuth and his doctor partner solving crime in 21st century London",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "xK7S9mrFWL4",
 "tv_show_episodes": "15*",
 "tv_show_start_year": "2010",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Crime,Drama,Mystery",
 "tv_show_rating": "9.2",
 "tv_show_country": "UK,USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "3"
 },
 {
 "tv_show_id": "5",
 "tv_show_name": "Game of Thrones",
 "tv_show_original_name": "Game of Thrones",
 "tv_show_image": "images/tv-shows/game-of-thrones-poster.jpg",
 "tv_show_description": "Nine noble families fight for control over the mythical lands of Westeros, while an ancient enemy returns after being dormant for thousands of years.",
 "tv_show_stars": "Peter Dinklage,Kit Harington,Emilia Clarke",
 "tv_show_director": "David Benioff,D.B.Weiss",
 "tv_show_trailer": "bjqEWgDVPe0",
 "tv_show_episodes": "73*",
 "tv_show_start_year": "2011",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Action,Adventure,Drama",
 "tv_show_rating": "9.5",
 "tv_show_country": "UK,USA",
 "tv_show_runtime": "57 min",
 "is_featured": "Yes",
 "views_count": "35"
 },
 {
 "tv_show_id": "6",
 "tv_show_name": "The Big Bang Theory",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/the-big-bang-theory-poster.jpg",
 "tv_show_description": "A woman who moves into an apartment across the hall from two brilliant but socially awkward physicists shows them how little they know about life outside of the laboratory.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "WBb3fojgW0Q",
 "tv_show_episodes": "280",
 "tv_show_start_year": "2007",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Comedy,Romance",
 "tv_show_rating": "8.2",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "5"
 },
 {
 "tv_show_id": "7",
 "tv_show_name": "Friends",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/friends-poster.jpg",
 "tv_show_description": "Follows the personal and professional lives of six 20 to 30-something-year-old friends living in Manhattan.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "SHvzX2pl2ec",
 "tv_show_episodes": "236",
 "tv_show_start_year": "1994",
 "tv_show_end_year": "2004",
 "tv_show_genre": "Comedy,Romance",
 "tv_show_rating": "8.9",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "3"
 },
 {
 "tv_show_id": "8",
 "tv_show_name": "Dexter",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/dexter-poster.jpg",
 "tv_show_description": "By day, mild-mannered Dexter is a blood-spatter analyst for the Miami police. But at night, he is a serial killer who only targets other murderers.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "YQeUmSD1c3g",
 "tv_show_episodes": "96",
 "tv_show_start_year": "2006",
 "tv_show_end_year": "2013",
 "tv_show_genre": "Crime,Drama,Mystery",
 "tv_show_rating": "8.7",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "0"
 }
 ],
"TV Shows (Top Viewed)": [
 {
 "tv_show_id": "5",
 "tv_show_name": "Game of Thrones",
 "tv_show_original_name": "Game of Thrones",
 "tv_show_image": "images/tv-shows/game-of-thrones-poster.jpg",
 "tv_show_description": "Nine noble families fight for control over the mythical lands of Westeros, while an ancient enemy returns after being dormant for thousands of years.",
 "tv_show_stars": "Peter Dinklage,Kit Harington,Emilia Clarke",
 "tv_show_director": "David Benioff,D.B.Weiss",
 "tv_show_trailer": "bjqEWgDVPe0",
 "tv_show_episodes": "73*",
 "tv_show_start_year": "2011",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Action,Adventure,Drama",
 "tv_show_rating": "9.5",
 "tv_show_country": "UK,USA",
 "tv_show_runtime": "57 min",
 "is_featured": "Yes",
 "views_count": "35"
 },
 {
 "tv_show_id": "2",
 "tv_show_name": "Breaking Bad",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/breaking-bad-poster.jpg",
 "tv_show_description": "A high school chemistry teacher diagnosed with inoperable lung cancer turns to manufacturing and selling methamphetamine in order to secure his family's future.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "5NpEA2yaWVQ",
 "tv_show_episodes": "62",
 "tv_show_start_year": "2008",
 "tv_show_end_year": "2013",
 "tv_show_genre": "Crime,Drama,Thriller",
 "tv_show_rating": "9.5",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "26"
 },
 {
 "tv_show_id": "20",
 "tv_show_name": "Arrested Development",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/arrested-development-poster.jpg",
 "tv_show_description": "<p>Level-headed son Michael Bluth takes over family affairs after his father is imprisoned. But the rest of his spoiled, dysfunctional family are making his job unbearable.</p>\r\n",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "kM5O9LC2xa8",
 "tv_show_episodes": "84*",
 "tv_show_start_year": "2003",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Comedy",
 "tv_show_rating": "8.9",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "10"
 },
 {
 "tv_show_id": "1",
 "tv_show_name": "Supernatural 1",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/supernatural-poster.jpg",
 "tv_show_description": "Two brothers follow their father's footsteps as \"hunters\", fighting evil supernatural beings of many kinds, including monsters, demons, and gods that roam the earth.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "mmKLq1InbQc",
 "tv_show_episodes": "22",
 "tv_show_start_year": "2005",
 "tv_show_end_year": "2006",
 "tv_show_genre": "Drama,Thriller,Fantasy,Mystery,Horror",
 "tv_show_rating": "8.5",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "6"
 },
 {
 "tv_show_id": "6",
 "tv_show_name": "The Big Bang Theory",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/the-big-bang-theory-poster.jpg",
 "tv_show_description": "A woman who moves into an apartment across the hall from two brilliant but socially awkward physicists shows them how little they know about life outside of the laboratory.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "WBb3fojgW0Q",
 "tv_show_episodes": "280",
 "tv_show_start_year": "2007",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Comedy,Romance",
 "tv_show_rating": "8.2",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "5"
 },
 {
 "tv_show_id": "18",
 "tv_show_name": "Westworld",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/westworld-poster.jpg",
 "tv_show_description": "Set at the intersection of the near future and the reimagined past, explore a world in which every human appetite can be indulged without consequence.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "IuS5huqOND4",
 "tv_show_episodes": "22",
 "tv_show_start_year": "2016",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Drama,Mystery,Sci-Fi",
 "tv_show_rating": "8.9",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "5"
 }
 ],
"TV Shows (Top Rating)": [
 {
 "tv_show_id": "2",
 "tv_show_name": "Breaking Bad",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/breaking-bad-poster.jpg",
 "tv_show_description": "A high school chemistry teacher diagnosed with inoperable lung cancer turns to manufacturing and selling methamphetamine in order to secure his family's future.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "5NpEA2yaWVQ",
 "tv_show_episodes": "62",
 "tv_show_start_year": "2008",
 "tv_show_end_year": "2013",
 "tv_show_genre": "Crime,Drama,Thriller",
 "tv_show_rating": "9.5",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "26"
 },
 {
 "tv_show_id": "5",
 "tv_show_name": "Game of Thrones",
 "tv_show_original_name": "Game of Thrones",
 "tv_show_image": "images/tv-shows/game-of-thrones-poster.jpg",
 "tv_show_description": "Nine noble families fight for control over the mythical lands of Westeros, while an ancient enemy returns after being dormant for thousands of years.",
 "tv_show_stars": "Peter Dinklage,Kit Harington,Emilia Clarke",
 "tv_show_director": "David Benioff,D.B.Weiss",
 "tv_show_trailer": "bjqEWgDVPe0",
 "tv_show_episodes": "73*",
 "tv_show_start_year": "2011",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Action,Adventure,Drama",
 "tv_show_rating": "9.5",
 "tv_show_country": "UK,USA",
 "tv_show_runtime": "57 min",
 "is_featured": "Yes",
 "views_count": "35"
 },
 {
 "tv_show_id": "18",
 "tv_show_name": "Westworld",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/westworld-poster.jpg",
 "tv_show_description": "Set at the intersection of the near future and the reimagined past, explore a world in which every human appetite can be indulged without consequence.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "IuS5huqOND4",
 "tv_show_episodes": "22",
 "tv_show_start_year": "2016",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Drama,Mystery,Sci-Fi",
 "tv_show_rating": "8.9",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "5"
 },
 {
 "tv_show_id": "20",
 "tv_show_name": "Arrested Development",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/arrested-development-poster.jpg",
 "tv_show_description": "<p>Level-headed son Michael Bluth takes over family affairs after his father is imprisoned. But the rest of his spoiled, dysfunctional family are making his job unbearable.</p>\r\n",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "kM5O9LC2xa8",
 "tv_show_episodes": "84*",
 "tv_show_start_year": "2003",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Comedy",
 "tv_show_rating": "8.9",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "10"
 },
 {
 "tv_show_id": "15",
 "tv_show_name": "House",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/house-poster.jpg",
 "tv_show_description": "An antisocial maverick doctor who specializes in diagnostic medicine does whatever it takes to solve puzzling cases that come his way using his crack team of doctors and his wits.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "MczMB8nU1sY",
 "tv_show_episodes": "176",
 "tv_show_start_year": "2004",
 "tv_show_end_year": "2012",
 "tv_show_genre": "Drama,Mystery",
 "tv_show_rating": "8.8",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "1"
 }
 ],
"TV Shows (Recently Added)": [
 {
 "tv_show_id": "20",
 "tv_show_name": "Arrested Development",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/arrested-development-poster.jpg",
 "tv_show_description": "<p>Level-headed son Michael Bluth takes over family affairs after his father is imprisoned. But the rest of his spoiled, dysfunctional family are making his job unbearable.</p>\r\n",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "kM5O9LC2xa8",
 "tv_show_episodes": "84*",
 "tv_show_start_year": "2003",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Comedy",
 "tv_show_rating": "8.9",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "10"
 },
 {
 "tv_show_id": "14",
 "tv_show_name": "Arrow",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/arrow-poster.jpg",
 "tv_show_description": "Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "XQS7JkQmlx8",
 "tv_show_episodes": "161",
 "tv_show_start_year": "2012",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Action,Adventure,Crime",
 "tv_show_rating": "7.7",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "1"
 },
 {
 "tv_show_id": "13",
 "tv_show_name": "True Detective",
 "tv_show_original_name": "",
 "tv_show_image": "images/tv-shows/true-detective-poster.jpg",
 "tv_show_description": "Seasonal anthology series in which police investigations unearth the personal and professional secrets of those involved, both within and outside the law.",
 "tv_show_stars": "",
 "tv_show_director": "",
 "tv_show_trailer": "fVQUcaO4AvE",
 "tv_show_episodes": "24",
 "tv_show_start_year": "2014",
 "tv_show_end_year": "Live",
 "tv_show_genre": "Crime,Drama,Mystery",
 "tv_show_rating": "9.0",
 "tv_show_country": "USA",
 "tv_show_runtime": "",
 "is_featured": "Yes",
 "views_count": "11"
 }
 ]




RE: How to convert this code from Core PHP to Codeigniter ? - muuucho - 11-16-2019

I think that you must understand PHP, SQL and Codeigniter to succeed with your project unless you are willing to hire coders to do it.

So, if you are willing to learn, I recommend this:
Download the framework. Then follow the manual starting with the setup. Also, https://avenir.ro/codeigniter-tutorials/ was a great help when I started using Codeigniter. 

After the setup, you will find the answer to many (problary not all) of your questions when you reach this section: https://codeigniter.com/user_guide/tutorial/news_section.html

Good luck!