I have a form that collects javascript variables. Only 2 fields, name and score.
<form action="the name of my php file when I create it" method="post" name ="command">
<input type="hidden" name="name">
<input type="hidden" name ="score">
</form>
The mysql database table that the data will be collected in has 2 columns, one called name and one called score (aswell as primary key etc)
The database is called assessment, the table called test1. it resides at the root level of my webserver
What code do i need on the "action page" for my form dta to end up in my database?