What's the best resource for learning PHP?
Moderator: General Moderators
What's the best resource for learning PHP?
What would you guys/gals suggest as the best way to learn PHP? I have HTML/CSS knowledge as well as knowledge building/designing websites. But I'm wanting to take the next step and make a database driven site that users can interact with. Thanks in advance.
first step would be to hit some tutorials.
A good php/MySQL tutorial I would suggest is:
http://hotwired.lycos.com/webmonkey/99/ ... rogramming
Next step is to download some scripts and look at how the variables are set and how they are used.
refer to php.net for functions you may be unclear on. Ie:
this script:
$comment = "comment.txt";
if(file_exists("$comment")) {
$post = fopen($comment, "a");
fputs($post, stripslashes($text));
fclose($post);
I would go to php.net and type in fputs(or fwrite) and file_exist and fclose and see what the commands do and compare them to the script.
A good php/MySQL tutorial I would suggest is:
http://hotwired.lycos.com/webmonkey/99/ ... rogramming
Next step is to download some scripts and look at how the variables are set and how they are used.
refer to php.net for functions you may be unclear on. Ie:
this script:
$comment = "comment.txt";
if(file_exists("$comment")) {
$post = fopen($comment, "a");
fputs($post, stripslashes($text));
fclose($post);
I would go to php.net and type in fputs(or fwrite) and file_exist and fclose and see what the commands do and compare them to the script.
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA
Re: What's the best resource for learning PHP?
magicrobotmonkey wrote:Get yourself a project. Nothing drives learning like neccesity!
Coal wrote:But I'm wanting to take the next step and make a database driven site that users can interact with.
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA