Firstly, read some articles about PHP itself. Then think of a simple task (like random number generator script, etc.) and start coding. Needless to say, you will need to ask for help on forums, read user guides and documentation, etc. And it's the good thing because the only way to learn PHP is do something.