By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,864 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,864 IT Pros & Developers. It's quick & easy.

Advice on learning PHP

P: n/a
Can anyone give me advice on how to learn PHP?
Jun 2 '08 #1
Share this Question
Share on Google+
9 Replies


P: n/a
On May 15, 11:01 am, Phper <hi.steven...@gmail.comwrote:
Can anyone give me advice on how to learn PHP?
Install a web server and PHP on your machine, and play with it! If
you've got programming experience it's quite easy to pick up.
Jun 2 '08 #2

P: n/a
In our last episode,
<9a**********************************@w34g2000prm. googlegroups.com>, the
lovely and talented Phper broadcast on comp.lang.php:
Can anyone give me advice on how to learn PHP?
I don't know if this is really about learning PHP, but ...

You will see many questions here like "How do I <do something with a web
pagein PHP"? About 90% of the time, if you cannot do something without
PHP, you cannot do it with PHP.

If you cannot make a mock-up of your page in (valid) HTML, you cannot make
the page with PHP. If you cannot give the page the appearance you want in
CSS, you cannot use PHP to do it. If you cannot write a query in your
database client that works, you cannot write a query in PHP that works. If
some client-side script you want doesn't work when you use an editor to
enter it in an HTML document, it won't work if you use PHP to write it. In
other words, PHP can make what you are doing easy, if you know what you
doing. If you cannot write a valid HTML document without PHP, PHP cannot
write a valid document for you, and it cannot write magic HTML that does
things that are basically impossible in HTML (such as, from a recent
question, embed a font in HTML). If you are not too clear on the pros and
cons of (attempted) browser sniffing, PHP won't make that any clearer.

You'll make it much easier on yourself if you write a mock-up document with
dummy values first, and pass that through a validator before you use PHP to
write real values from your database in your document. Writing queries in
PHP will be a breeze if you first test queries in your database client.

Many, many people who have never written a web page, never styled an HTML
document, never used their database client, seem to think there is something
in "learning PHP" that will enable them to do those things.

--
Lars Eighner <http://larseighner.com/us****@larseighner.com
Countdown: 250 days to go.
Jun 2 '08 #3

P: n/a

"Phper" <hi**********@gmail.comwrote in message
news:9a**********************************@w34g2000 prm.googlegroups.com...
Can anyone give me advice on how to learn PHP?
How to learn any programming language:

Select a project
Write the code

Repeat

Seriously. If you want book recommendations the O'Reilly
books are always good as are many others on PHP.

Especially good are "Programming PHP" and if you are new
to programming "Learning PHP". After that, "PHP Cookbook"
and books on what you wish to accomplish, such as PHP and
MySql etc.

Jun 2 '08 #4

P: n/a
On Thu, 15 May 2008 03:01:35 -0700, Phper sez:
Can anyone give me advice on how to learn PHP?
When I first decided to learn PHP, I checked out five books from the
library on PHP and MySQL. First mistake - dead tree editions are
obsolete by the time they get to the library.

Then I spent hours and hours on Google looking for the best source of
information, and I found that php.net is all you really need. Examples,
complete programming reference so you can see all the arguments each
function takes, etc. If I need an answer in a hurry, I'll fire up xchat
and go to the #php channel on Freenode; otherwise I get everything I need
from php.net. I subscribed to this newsgroup mostly to read other
people's questions and learn from the answers they get.

If you really can't find what you need at php.net, google for php +
tutorial + example and you'll see tons of sites that teach various
aspects of the language.

--
Peter B. Steiger
Cheyenne, WY
If you must reply by email, you can reach me by placing zeroes where
you see stars: wypbs.**1 at gmail.com (yes, that's a new address)
** Posted from http://www.teranews.com **
Jun 2 '08 #5

P: n/a
On 15 May, 11:01, Phper <hi.steven...@gmail.comwrote:
Can anyone give me advice on how to learn PHP?
First step, change the name in your Google profile to your eral name,
rather than still pretending to be Erwin Moller!
Jun 2 '08 #6

P: n/a
On Thu, 15 May 2008 05:57:24 -0500, Lars Eighner wrote:
Many, many people who have never written a web page, never styled an HTML
document, never used their database client, seem to think there is something
in "learning PHP" that will enable them to do those things.
Perhaps you underrate the joys of PHP with a nice ncurses environment.
(:

--
"Friendship is born at that moment when one person says to another, 'What!
You too? I thought I was the only one!'"
--C.S. Lewis
Jun 2 '08 #7

P: n/a
Captain Paralytic wrote:
On 15 May, 11:01, Phper <hi.steven...@gmail.comwrote:
>Can anyone give me advice on how to learn PHP?

First step, change the name in your Google profile to your eral name,
rather than still pretending to be Erwin Moller!
Second step: don't feed the troll.
Jun 2 '08 #8

P: n/a
On May 15, 6:01 am, Phper <hi.steven...@gmail.comwrote:
Can anyone give me advice on how to learn PHP?
I'm actually really curious about the answer to this question. Where
do people usually start out?

My company has been developing PHP web apps for several years now, and
just released a new training video for beginners. We're trying the
find the best place to advertise to people just starting out.

Any ideas?

Best regards,
Jason.
http://www.learnphptutorial.com
Jun 2 '08 #9

P: n/a

"syllogistic-software" <jh*****@gmail.comwrote in message
news:5c**********************************@f63g2000 hsf.googlegroups.com...
On May 15, 6:01 am, Phper <hi.steven...@gmail.comwrote:
>Can anyone give me advice on how to learn PHP?

I'm actually really curious about the answer to this question. Where
do people usually start out?

My company has been developing PHP web apps for several years now, and
just released a new training video for beginners. We're trying the
find the best place to advertise to people just starting out.
Most of the advice is "Just do it".

No one learns to program by (merely) reading a book or
watching a video (sorry).

You just set a project; start coding; then read (or watch)
whatever you have to watch to get over the hard parts.

Problem with most video is that 1) People won't actually
watch it even if they buy it and 2) There is not enough
"intermediate" and practically no advanced material available
this way.

If someone is stuck getting started video might be useful,
but his is mainly people who have never programmed
before and have no real self-motivation to just do it.

Same for "beginners' books".

Books like O'Reilly's Cookbook series or a good 2nd
level book start to make sense as skills develop.

The PHP manual (on the web site) is as good or better
than most any starter book.
Jun 2 '08 #10

This discussion thread is closed

Replies have been disabled for this discussion.