Welcome to this simple application

you have loged in successfully"; print_secure_content(); } else{ print "wrong pawssword or username, please try again"; loginform(); } } } function loginform() { print "please enter your login information to proceed with our site"; print ("
username
password
"); print ""; print "

register now!

"; } function checkpass() echo "Got There" ; $servername = "mysql1201.hostexcellence.com"; $username = "Point5_SAT"; $password = "Speedway79"; $dbname = "Point5_SAT"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "
"."Database Connected successfully"."
"."
"; $query="select * from clients where id='APG'" ; $result = mysqli_query($conn, $query) ; echo "
"."Table: CLIENTS"."
" ; echo ""; while($row = mysqli_fetch_array($result)) { echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
ID NAME PHONE
" . $row['id'] . "" . $row['name'] . "" . $row['phone'] . "
"; ?>