Results

[insert_php]

$servername = “192.185.129.96”;
$username = “primeins_bhiwadi”;
$password = “Prime@123”;
$dbname = “primeins_bhiwadi”;

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die(“Connection failed: ” . $conn->connect_error);
}

$sql = “SELECT image, stdname FROM wp_ssr_studentinfo”;
$result = $conn->query($sql);

if ($result->num_rows > 0) {
echo ”

PTE/NAATI RESULTS

“;
$a=01;
// output data of each row
while($row = $result->fetch_assoc()) {
echo “”;
$a++;
}
echo ”

S.No.NamePhoto
$a“.$row[“stdname”].”

“;
} else {
echo “0 results”;
}
$conn->close();

[/insert_php]

GET A FREE TRIAL CLASS