I am trying to send data from input to a my sqldata base. Here is the coding for it trying to send the information to the database. It doesn\'t appear in the database; what is w
You are mixing mysql and mysqli. Change:
mysql_query("INSERT INTO 'mensscore', (Name, Club, Level, App, Score);
VALUES ('".$a."',
'".$b."',
'".$c."',
'".$d."'
'".$g."')");
To:
mysqli_query($con, "INSERT INTO `mensscore` (Name, Club, Level, App, Score)
VALUES ('$a',
'$b',
'$c',
'$d',
'$g'
);");
Also see How can I prevent SQL injection in PHP and PHP: mysqli_stmt - Manual because using POST is not always safe as people can do SQL injection.