Update sql4.php

This commit is contained in:
Fatih Çelik 2018-11-30 05:47:03 +06:00 committed by GitHub
parent b719d8d814
commit 8181cad23e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,16 +6,23 @@
</head> </head>
<body> <body>
<div style="background-color:#c9c9c9;padding:15px;">
<button type="button" name="homeButton" onclick="location.href='../homepage.html';">Home Page</button>
<button type="button" name="mainButton" onclick="location.href='sqlmainpage.html';">Main Page</button>
</div>
<div align="center">
<form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" > <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post" >
<p>Give me book's number and I give you book's name in my library.</p> <p>Give me book's number and I give you book's name in my library.</p>
Book's number : <input type="text" name="number"> Book's number : <input type="text" name="number">
<input type="submit" name="submit" value="Submit"> <input type="submit" name="submit">
<!--<p>Im learning something, I think? <!--<p>Im learning something, I think?
I will sanitize query this time!! I will sanitize query this time!!
//I'm the best web developer. //I'm the best web developer.
//number is too dangerous. I have to do something.</p> //number is too dangerous. I have to do something.</p>
--> -->
</form> </form>
</div>
<?php <?php
$servername = "localhost"; $servername = "localhost";