[insert_php]
$server = “localhost”;
$username = “srsheprh_wp319”;
$password = “[8B91p0-St”;
$database = “srsheprh_wp319”;
$conn = mysqli_connect($server, $username, $password, $database);
if(!$conn){ die(“Connection Failed: ” . mysqli_connect_error()); }
if(isset($_POST[‘Submit’])) {
$searchreg = $_POST[‘searchreg’];
$sql=”SELECT * from wpep_talentsearch2020 where regno like ‘$searchreg'”;
$result = mysqli_query($conn, $sql);
}
[/insert_php]
| SRS TALENT SEARCH 2020 RESULT |
|
|
[insert_php]
if(mysqli_num_rows($result)>0) {
while($row = mysqli_fetch_assoc($result)) {
echo ”
| “.$row[‘name’].” |
| Your Reg Number : “.$row[‘regno’].”
|
| DATE OF TEST : 29 DECEMBER 2019 |
| MAX MARKS : |
100 |
| MARKS OBTAINED : |
“.$row[‘marks’].” |
|
| ADMISSIONS OPEN FOR I PU – FOR ENQUIRY: 7090452222 |
| << Go To Home Page
|
“; }}
if(mysqli_num_rows($result) == 0) {
echo “Enter Valid Reg Number and Click on ‘View Result’ button
<< Go To Home Page
“;
}
[/insert_php]