Re: Data not being entered into database
Changed the process.php to look like I think you requested.
It displays the correct information:
INSERT INTO data (playersid, dateid, attend, points, payout, hh, ff) VALUES ('7', '12', '1', '6', '100', '25', '25').
But the table does not have data entered.
process.php:
<?php
include "config.php";
$player = $_POST['players'];
$date = $_POST['date'];
$att = $_POST['attend'];
$pts = $_POST['points'];
$amt = $_POST['payout'];
$high = $_POST['hh'];
$fty = $_POST['ff'];
$qry = "INSERT INTO data (playersid, dateid, attend, points, payout, hh, ff) VALUES ('$player', '$date', '$att', '$pts', '$amt', '$high', '$fty')";
$res = mysqli_query($qry);
exit($qry);
mysqli_close($conn);
?>