Sunda Cyber Army


* Sunda Cyber Army 2k17 *
Indonesia Defacer ~


Path : /home/dent/public_html/demos/
File Upload :
Current File : /home/dent/public_html/demos/details_drilldown.php

<?php
var_dump($_REQUEST);
echo "<hr>submitted id" . $_REQUEST["id"] . "<hr>";


$host = "webdev.iyaserver.com";
$userid = "[youruserid]";
$userpw = "[yourpw]";
$db = "[database name]";

include '../pdloginvariables.php';

$mysql = new mysqli(
    $host,
    $userid,
    $userpw,
    $db
);

if($mysql->connect_errno) {
    echo "db connection error : " . $mysql->connect_error;
    exit();
}


$sql = "SELECT * FROM movieView2 WHERE dvd_title_id=" . $_REQUEST["id"];

echo "<hr>SQL:<br>" . $sql . "<hr>";


$results = $mysql->query($sql);

if(!$results) {
    echo "<hr>Your SQL:<br> " . $sql . "<br><br>";
    echo "SQL Error: " . $mysql->error . "<hr>";
    exit();
}

echo "you have " . $results->num_rows . " search results.";

while($currentrow = $results->fetch_assoc()) {
    echo "<h1>" .  $currentrow["title"] . "</h1>";
    echo "Genre " . $currentrow["genre"] . "<br>";
    echo "Rating " . $currentrow["rating"] . "<br>";
    echo "Studio " . $currentrow["label"] . "<br>";
}