Near Complete Version

website is now finished with the exception of the captcha, I am having issues authenticating the state of the captcha
This commit is contained in:
lukejelse04
2021-05-13 21:07:34 +01:00
parent 8b851995a4
commit 45c6834231
40 changed files with 7939 additions and 596 deletions

View File

@ -0,0 +1,22 @@
<?php
$conn = new mysqli("localhost", "lukejelse04", "C3ssNa182", "snexo");
if($conn->connect_errno){
echo "<script>console.log('Failure to connect to database')</script>";
}else{
$dateTime = date('d/m/Y H:i:s');
echo "<h6> $dateTime </h6>";
$sqlquery = "INSERT INTO VisitTime (DateTime) VALUES ('$dateTime')";
$result = $conn -> query($sqlquery);
}
?>