Hey, I agree with Norman. I think the best ideas are worthless with out planning.
If you have an idea for a program already, thats great. Take that idea and pick at it a lil. Decide everything you want this program to do. From there, take what you already know and put it to use.
Now, if you dont know the very basics like php syntax, simple control structures (if, if..else, while, etc...), etc..., I would suggest doing some more reading.
Next, start looking up certain details, reading specifc tutorials, or asking questions on functions or anything that you think could be of use to you, but you dont understand it. If you plain dont know what to use, a simple question like 'How do I make a mysql connection', if askes on this or any other related forums could be very helpful to you when the time comes to use databases.
Try not to put learning php in a whole chunck, rather, take the time to ask specific questions or do a specific search on google.
Just remember that you will not be writing professional code over night 😉 It takes time to learn a new language. Do you know any one who could speak french fluently after a week???
Here are some books that I have found helpful:
-> MySQL/PHP Database Applications by Jay Greenspan & Brad Bugler
-> PHP fast & easy web development by Julie Meloni
-> PHP for Dummies (not sure bout the author, but it shouldnt be too hard to find)
Also here are some great php resources:
-> phpBuilder Articles
-> phpIDE
-> DevShed
-> Onlamp.com
-> PHP Freaks
-> WeberDev
-> Classes - More advanced stuff
I hope that helps.