I'm not an expert at programming php or anything, but I found just analyzing open source projects really helped me learn the basics. For more advanced stuff, I'd probably recommend codecademy although there's probably some better alternatives (its just what i used and it worked great for me)