Author Topic: What should I do to start learning PHP?  (Read 3147 times)

0 Members and 1 Guest are viewing this topic.

Offline !!!!!Topic starter

  • Enthusiast
  • Posts: 68
    • View Profile
What should I do to start learning PHP?
« on: December 27, 2006, 01:38:47 PM »
Hi, currently the only things I know about PHP are like, Variables.

I would like to know what are some/a good way(s) for me to learn PHP?

Thanks

Offline ted_chou12

  • Devotee
  • Posts: 1,481
  • Gender: Male
  • Hitman Hits
    • View Profile
    • NetFriending
Re: What should I do to start learning PHP?
« Reply #1 on: December 27, 2006, 01:43:55 PM »
make websites, thats the fastest/easiest way to learn php.
Currently working on a website called NetFriending.co.cc, it is a free social networking site, features such as guestbook, blogs, are fully customizable in NetFriending, also has a forum to help you get to know others, if you are interested in the site, the url is: NetFriending.co.cc Hope everyone can get involved because the site is still quite new, so not much people are there at the moment, please feel free to leave a comment there or send a message to our staff. Register Here The link above is for registeration, it is 100% Free and Safe, everyone there is friendly and you can build your network. Photo sharing upload your own photos as well!!!

Offline !!!!!Topic starter

  • Enthusiast
  • Posts: 68
    • View Profile
Re: What should I do to start learning PHP?
« Reply #2 on: December 27, 2006, 01:45:04 PM »
make websites, thats the fastest/easiest way to learn php.
I mean actually learning it...

Offline alpine

  • Devotee
  • Posts: 1,019
  • Gender: Male
    • View Profile
Re: What should I do to start learning PHP?
« Reply #3 on: December 27, 2006, 01:50:55 PM »
Some prefer to start with a book, some prefer to start fiddeling with a website taking one step at a time using this community and the manual at www.php.net as "helpdesk" ..and so it goes on..
But it's not coming flying to you during the night, you have to start working with it one way or the other.

Offline phatgreenbuds

  • Enthusiast
  • Posts: 125
    • View Profile
Re: What should I do to start learning PHP?
« Reply #4 on: December 27, 2006, 03:49:47 PM »
I personally recommend a book to start with, following the examples closely.  My own method for learning which works really well for me, is to pick some tool that I use daily in my work and while going through my book trying to write my own version of that tool.  I have made it half way through my first PHP/MySQL book and already wrote an online ticketing system to mimic our Remedy ticketing system.  This is just my opinion. Everyone learns differently so you have to decide what is best for you. I have hit several brick walls with PHP and so far this forum has not let me down with getting past them.

Offline SharkBait

  • Devotee
  • Posts: 1,074
  • Gender: Male
  • PHP Lover, WordPress Crazy, Photographer
    • View Profile
    • Tyler Ingram dot Com
Re: What should I do to start learning PHP?
« Reply #5 on: December 27, 2006, 03:53:04 PM »
I would take a look at why you want to use PHP. Then see if there are any tutorials here on phpFreaks.com that can help you learn. If you have questions we are all willing to help :)


Offline !!!!!Topic starter

  • Enthusiast
  • Posts: 68
    • View Profile
Re: What should I do to start learning PHP?
« Reply #6 on: December 27, 2006, 04:05:51 PM »
I personally recommend a book to start with, following the examples closely.  My own method for learning which works really well for me, is to pick some tool that I use daily in my work and while going through my book trying to write my own version of that tool.  I have made it half way through my first PHP/MySQL book and already wrote an online ticketing system to mimic our Remedy ticketing system.  This is just my opinion. Everyone learns differently so you have to decide what is best for you. I have hit several brick walls with PHP and so far this forum has not let me down with getting past them.
I have a book right in front of me... It's called PHP in 24 Hours. If you know anything about this book can you tell me if it is a good book or a bad one?

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,255
    • View Profile
Re: What should I do to start learning PHP?
« Reply #7 on: December 27, 2006, 04:09:43 PM »
Most of those 24hours books are pretty lame IMO but any book is better than none. Generally I find that people who have learnt by just jumping in have allot of bad habbits and very little understanding of basic programming concepts.

There is this book which is available free online which seems to cover most things pretty well. The thing with a book though is to read it from start to finnish without skimming. Be patient.

Offline Eiolon

  • Enthusiast
  • Posts: 310
    • View Profile
Re: What should I do to start learning PHP?
« Reply #8 on: December 27, 2006, 04:26:24 PM »
First of all, don't try and master it all in 24 hours.  Second of all, grab a book and just work on some of the examples.  I know you may have this grand vision for the next MySpace or something but unfortunately you have to start with something smaller.

Here is the book that I have been using:

PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide
Larry Ullman

http://www.zend.com/images/publishers/big_19.gif

It's a little outdated, focusing on PHP4 but that in combination with great advice from this forum and other tutorials, I have slowly begun to understand PHP and the terminology/commands.

In a week I have created my own login system, learned own to secure it AND most importantly I understand what every piece of code means that I have used so far.  That doesn't mean I can code something from scratch without a reference but when I look at code I can finally say, "Yeah, I know what that means and how/why it's used."

Offline slashpine

  • Enthusiast
  • Posts: 161
    • View Profile
Re: What should I do to start learning PHP?
« Reply #9 on: December 27, 2006, 04:33:33 PM »
Personally, I would start by setting up a development server (LAMP) running Linux,Apache, Mysql and PHP...
You can use a Windows box but Linux or BSD would be more better IMHO... I recommend a "server setup" distro to make the process and installation easy.

 Once you have a LAMP server setup the sky is the limit...!

What I would do is look for an existing (PHP) script that does something you are interested in or imay be useful to you... then employ backwards engineering to disect the script and see how and why it does what it does...If I was starting from scratch I would start with a script that writes to flat file databases.... this can be fun and educational as well as being simple and functional

A more comprehensive approach might be to download and install a (PHP/MYsql) CMS program... this will give you much more to work with...including out of the box functionality...lots of stuff to hack (learn) away at.

Good Luck, Have Fun...


Offline !!!!!Topic starter

  • Enthusiast
  • Posts: 68
    • View Profile
Re: [SOLVED] What should I do to start learning PHP?
« Reply #10 on: January 05, 2007, 11:36:19 PM »
I would still like some ways please... The main things I would like to learn are:

• How to make Tables and things in the tables.
• What I can do in my database/how to get there (I know, pathetic).
• Forms/Log-In Systems.

Offline PC Nerd

  • Devotee
  • Posts: 1,121
  • Gender: Male
    • View Profile
Re: What should I do to start learning PHP?
« Reply #11 on: January 06, 2007, 05:41:27 AM »
my favourite way of learning a new computing language such as php, or more resently javascript, is to find a comparison table of key words, like defineing variables and control statements.  becauase i already know a little bit about quite a few languages, this helps me becauase i can compare it so something i already know.  i dont know anywhere tha has something like that, but good luck anyway

Offline taith

  • Devotee
  • Posts: 1,498
  • Gender: Male
    • View Profile
Re: What should I do to start learning PHP?
« Reply #12 on: January 06, 2007, 05:57:15 AM »
what i did and suggest. find yourself either a book or some tutorials(www.tizag.com) and get yourself some php enabled webspace, while reading the book, try it, when you think you get the idea, move on to the next section
90% of computer issues exist between the seat, and the keyboard.

Offline dunn_cann

  • Irregular
  • Posts: 21
    • View Profile
Re: What should I do to start learning PHP?
« Reply #13 on: January 06, 2007, 08:34:24 AM »
I'm still very much a noob but i like reading and taking examples from my book: PHP for the world wide web. By Larry Ullman. Plus all the help that is available from other members of this forum is first class. I also downloaded and installed Xampp 1.5.5 so that i can learn all about PHP on my computer. Good luck!

Offline psychohagis

  • Enthusiast
  • Posts: 80
    • View Profile
Re: What should I do to start learning PHP?
« Reply #14 on: January 06, 2007, 09:34:23 AM »
I would suggest the book Build your own Database Driven Website using PHP & MYSQL by KEVIN YANk
It's quite think but I found it a very easy read, and I am already very satisfied with my knowledge of PHP. It explains everything from mysql and php basics to more advanced stuff. It also covers sessions and cookies, and tells you how to format with the [bb] tags.

Its published by sitepoint: www.sitepoint.com