how to learn PHP for newbs?

Joined
Jan 27, 2011
Messages
27
Reaction score
16
Let's start a debate on the best way to learn PHP basics and more.

I got all my learnings from w3schools (PHP section) but I think it is pretty limited since I get confused a lot trying to fix my wordpress e-commerce PHP files.

Currently, I am ok in HTML and CSS and poor-to-okay on JavaScript.

I also heard about these sites:

LearnPHP: Liked 2 articles: "PHP Basics" and "Create Drop Down List from Array"


PHPBuddy: Seems too similar to W3Schools

about: seems like a blackhat page to me haha
search for "learn php free"

PHP-Learn-It: Seems they got a popular SEO section

Sorry that you'll have to find the links...:rolleyes: took me 40 minutes to try to tweak it out...
 
If you've learned the basics from W3Schools, I guess you could learn more advanced features individually. Like google up 'how to create login and logout form using php'. Finding advanced lessons in whole just in 1 website might be hard.

If you're into ebooks, I have a ton of them you might find useful. If you want I'll upload.
 
i have a newbie doubt, i can design a website, but i want to create a site where u can login -members etc, can i design hows gonna look and everything then adding the script?
 
php is a pandoras box of learning treadmills. im sure for 50 someone on freelancer would do it for you.
 
I think the best way to learn PHP is to start making small scripts from scratch.
Install a small webserver on your local computer and just start to make some scripts.
 
i have a newbie doubt, i can design a website, but i want to create a site where u can login -members etc, can i design hows gonna look and everything then adding the script?

you can use something like Joomla that has those features out of the box and then use css to style how everything looks.... that way you only need to understand css

having a basic knowledge of php particularily with regards as to how to extract and format data from a database and use conditional statements i would say would be very handy though to know! :)
 
The reason I want to learn it is to be able to troubleshoot my websites myself.

I have a WP e-commerce website and I'm not even able to edit the <title> tag and the metas of the cart, checkout and transaction result. :(
 
Hay SnoozeBot,

That would be great if you could upload the Ebooks you have on PHP, I am sure many people would be interested in a download link.

While I am here thanks for offering.

Peter
 
Video tutorials always helps you while learning scripting languages. I found few free video tutorials:

Code:
http://www.phpvideotutorials.com/free

http://www.videophpblog.com/category/beginners/

http://www.killerphp.com/videos/
 
I think the best way to learn php is to download various free scripts and experiment with them.

phpclasses dot org has a nice collection of components that usually contain simple examples of how to use the components.

Sitepoint has some decent articles, although they may be a bit more advanced.

If you want to try the scripts on your PC rather than having to upload them to a webhost, I recommend installing wamp (wampserver dot com)
 
+ 1 for w3schools and tizag.

Both are excellent resources for beginners. It does take time, but keep at it. Don't expect to be writing WP modules your first day.

-HL
 
If you want to make your own scripts and run them on your computer:
PHP:
http://www.wampserver.com/en/
is a great and easy way to install Apache, MySQL and PHP on Windows.
 
I start with hotscripts . Plenty of resources but I love their scripts collection, I print the source code and learn from that. Plus php manual in chm format.
 
Back
Top