I learned PHP5 from this book: http://www.sitepoint.com/books/phpmysql1/. I highly recommend it. It took me 1 week to learn the syntax and 2 weeks to make decent web applications. Now, I don’t believe in learning based on line by line what the book says. I deviated from the book a lot and referenced different functions. It also really helps to have your own web server set-up somewhere. Mind you I didn’t have any development history except HTML.
I also learned PHP based on nessecities. What dynamic features will I need. What should I learn? I know based on that I was able to learn at some sort of a starting point and from there on. I was constantly trying to make the scripts I made better and slightly more detailed.
My first script was an uploading script. I learned how to limit certain file sizes and types. Then I moved from that to renaming files uploaded based on the date and time they were uploaded. From there I went to storing these names, file sizes, and file types in the MySQL. Then I thought, hey I need to be able to admin this so I created pages that would pull information from the database and remove unwanted data. This is how I learned and I learned what functions did what I needed.
Hopefully this all makes sense and I’m not rambling but I hope whomever wants to learn it has fun with it like I did! I feel like I’ve accomplished something at the most.
Feel free to contact me if you need help. 6 years ago