the purpose of the database server is to store an application of multiple users, using php to maintain the data.
the requirements
-xampp v3.24
MySQL Server version: 10.1.30-MariaDB- mariadb.org binary distribution
-PHP version : 7.2.1
-Chrome version 83.0.4103.116 (Official Build) (64-bit)
steps
- start xampp and start mysql and apache service
- access localhost /phpmyadmin via chrome
- create a new database called my game
- create a new table called users and add fields
- in note pad ++ add connection string and sql to insert a new user
- test using chrome and connect any errors
Problems/solutions:
- errors in script due to spelling
- duplicate primary key, to fix that, use unique username
testing/ quality
- add a username , check phpmyadmin to see if it has inserted
- add another, check if database primary keys work