Looking for an elementary programming tutorial

A friend of mine has expressed a desire to learn PHP coding, so that she can add some simple features to her website; she would prefer to write it herself rather than just find something approximately suitable off-the-shelf, or, if she does have to use pre-written code, at least understand what it’s doing.

However, she has absolutely no experience of programming at all. Can anyone recommend an on-line resource which goes through the most elementary aspects of programming (variables, loops, arrays, etc?). Something that was based on PHP, or, at least, C, would obviously be ideal, but we’re really just looking for coverage of the fundamentals at this stage.

Here’s one you might try:

PHP Programming

Whenever I need to learn an internet technology, the first place I look is w3schools.com. As it just so happens, they do have a free PHP tutorial. Mind you, it may not be appropriate for someone who’s an absolute neophyte, but it’s worth taking a look at.