Insertions into a database from text field

Can I make it so that when a user clicks submit on a form, the information that they put into the two text fields be put into a table in a database if no errors are found? This is essinesional for being able to look back at history in my game in case problems occur.

Yes… You can…

HOW? Well that depends on your code.

Logically, :
User Submit data through form
PHP Script gets data… .
PHP Script Validates data.
IF Data is OK… Insert into DB and display Success message
IF Data is NOT OK … Display ERROR Message to user.

Sponsor our Newsletter | Privacy Policy | Terms of Service