There are books out there for online gaming with php...
here
I doubt this will help with a multi player game, probable shows how to make tic tac toe and games among that nature.
But any Php/mysql book should be able to show you what skills you need to achieve your goal.
Id suggest learning about classes and mysql specifically.