Moses,
I think I can help a little. I am working on a game like you say but mine will be text bases role playing game like Kings of Chaos or L.O.R.D (old BBS game). I already began working on my game locally on my system running apache, PHP, mysql. Once I actually get it working, I will be able to publish it to my domain.
Seems like our games might be going in different directions, but I'm sure we will be using the same kind of code. Maybe we can chat a little and find out if we can get a project going.
Things you'll need.
Install Apache or IIS.
Mysql
PHP installed.
Next you'll need a game plan, so you know the basics of what you want in the game. Everyone says to PLAN PLAN PLAN, I guess that works great on big projects as well as small, but when your learning, I think it might be a good idea to keep your database and code simple and grow and learn from your mistakes. Once you know how to program, PLAN PLAN PLAN ahead to where you want your game to be. Now I would focus on a registration process, username, password, attack and defense power, gold maybe and go from here. After you have a basic game of attack / defend, you can add more fields.
I have a basic login working, but I'm experimenting with the registration process. That's why I"m on this site. 🙂
Sorry about the long winded response.