954,174 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to learn PHP

how about learning PHP
what can be the suggested books?

rahul95
Newbie Poster
4 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 
almostbob
Posting Sensei
3,147 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376
 

I started learning PHP 6 years ago and found myself perfect at PHP after just two years.

I used no books, but just gave myself tasks :)
"Would be awesome with a single line of code writing 10 lines of text huh?"
- Much time of googling and bugging around later:

for($i = 0; $i < 10; i++) echo "The baby is ", $i, " years old!";


That is my preferred way of learning - gives a lot of practical experience :)

Excizted
Posting Whiz
309 posts since Oct 2009
Reputation Points: 94
Solved Threads: 27
 

The first step to learning PHP is "googling it out"! Though I learned PHP without any books/tutors but I recomment you to use one because there many things which are skipped out in tutorials and can be very useful. I have heard that oreilly PHP book is a good one.

shubhamjain1
Junior Poster in Training
56 posts since Oct 2009
Reputation Points: 17
Solved Threads: 14
 
how about learning PHP what can be the suggested books?

Prentice Hall has a book (ISBN: 0-13-187508-6) PHP and MySQL by Example
By Ellie Quigley with Marko Gargenta. This books assumes nothing from beginning to end. You start out with VERY basic work, and progress all the way through OOP programming techniques. There is a bonus of being enjoyable too....

Good luck in your future programming career.

helioptra
Light Poster
30 posts since Jun 2010
Reputation Points: 11
Solved Threads: 4
 

How you go about it depends on how you learn best. Some people need to have a course with an instructor, others can do tutorials and others like me prefer to jump in an thrash about and go looking for the info as they need it. W3Schools provides good tutorials and a good reference as you go.

chrishea
Nearly a Posting Virtuoso
1,427 posts since Sep 2008
Reputation Points: 210
Solved Threads: 230
 

I also recommend W3Schools . As well as the book
Beginning PHP6, Apache, MySQL Web Development, if your willing to invest. Also there are a few good PHP Video tutorials on Youtube etc. But beware some of them will lead you to write buggy & vulnerable code.

n0pz
Newbie Poster
3 posts since Jul 2010
Reputation Points: 10
Solved Threads: 1
 

definately http://www.w3schools.com
challenge yourself.
I have been learning php for only a few months and i'm constantly asking questions guru's can't answer.
mix and match scripts
best things to learn is:
PHP
MYSQL
AJAX

and most important CSS

these will help you create greate sites

:)

metalix
Posting Whiz in Training
218 posts since Mar 2010
Reputation Points: 13
Solved Threads: 34
 

As noted before check out http://www.w3schools.com it's probably the best resource online. I'm also working on a PHP resource at Learn PHP in 24 Hours , but at this point it hardly compares to w3schools.

I recommend making a php project. You won't know much when you start but Google is a great resource anytime you run into problems. You will learn rapidly if you do it from an applied learning approach.

learnphpin24hou
Newbie Poster
1 post since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

Buy a book - they are peer reviewed and tend to be more robust. Any fool can write an online tutorial. W3Schools is good, but not error-free. It is even misguided in some of its snippets. Wrox and O'Reilly have good examples of what you need. You can relax with a book, pick it up, flick to more interesting pages, review, review, review. Grab some insight for a big project. Online tutorials tend to be little bits here and there, which means you lose the big picture, that is where all these little gems of info are leading you.

BTW - books aren't error-free and will age quickly, but by then, you're ready to move on and are able to sort good sites from bad sites.

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,765 posts since Oct 2006
Reputation Points: 1,168
Solved Threads: 1,075
 

& of course, when you get stuck on a project, ask here

almostbob
Posting Sensei
3,147 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376
 

To learn php, there are many tutorials all over the web. You can start as many people suggest from w3school for beginners

http://www.w3schools.com/PHP/DEfaULT.asP

rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
 

You may try "PHP for Dummie" and W3Schools also.
It's best for newbies . Good Luck.

gaurang4
Newbie Poster
21 posts since Jul 2010
Reputation Points: 11
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You