View Full Version : Learn PHP Free
Moonman
March 23rd, 2002, 01:16
For all you people out there who want to learn PHP for free, including me, then check out http://www.scriptschool.com/php/, and go down to the table and do as it says, i am currently up to course 12, and finding it very useful.
Kaliber
March 23rd, 2002, 01:32
hmm....
"Porn Resource"?:confused:
Kaliber
March 23rd, 2002, 01:37
ok, they spam youlol, I knew something wasn't right..
Moonman
March 23rd, 2002, 01:37
i do not care about that, all i know is it is fairly good to learn php.
roly
March 23rd, 2002, 01:40
Porn Resource
MY SITE ISN'T PORN
Moonman
March 23rd, 2002, 01:40
and you do not need to sign up to access that page, therefor no spam.
<?
$nick = "moonman";
$favurl = "http://www.freewebspace.net";
print($nick <br>);
print($favurl);
?>
that was my first ever PHP code, simple, and it worked :p.
roly
March 23rd, 2002, 01:41
also I think that is for PHP3, lol
Kaliber
March 23rd, 2002, 01:55
Originally posted by Themanonthemoon
and you do not need to sign up to access that page, therefor no spam.
<?
$nick = "moonman";
$favurl = "http://www.freewebspace.net";
print($nick <br>);
print($favurl);
?>
that was my first ever PHP code, simple, and it worked :p.
Mine:
<?
print "Hello World";
?> hehe
Moonman
March 23rd, 2002, 01:58
yeah well mine had strings, 2 of them, $nick, and $favurl, so mine was better than yours :p.
Moonman
March 23rd, 2002, 02:00
although instead of
<?
$nick-=-"moonman";
$favurl-=-"http://www.freewebspace.net";
print($nick-<br>-);
print($favurl);
?>
to make it load quicker i could have done
<?
$nick-=-'moonman';
$favurl-=-'http://www.freewebspace.net';
print($nick-<br>-);
print($favurl);
?>
not that it would have made much difference in a script that size.
double quotes are only necassary if you need to interpret the value of a variable.
keith
March 23rd, 2002, 03:12
i'm learning php for free, and it's not through some crummy school.
you need to learn by necessity. just start building scripts... and when you come across something you don't know, learn it. i've been studying php seriously for about 2 weeks, and i'm in the midst of writing a fairly extensive database script [and soon enough... the mother of all redirection scripts... yes, even quicker and more efficient that the script wzr.net used].
Kaliber
March 23rd, 2002, 03:31
Originally posted by Themanonthemoon
although instead of
<?
$nick-=-"moonman";
$favurl-=-"http://www.freewebspace.net";
print($nick-<br>-);
print($favurl);
?>
to make it load quicker i could have done
<?
$nick-=-'moonman';
$favurl-=-'http://www.freewebspace.net';
print($nick-<br>-);
print($favurl);
?>
not that it would have made much difference in a script that size.
double quotes are only necassary if you need to interpret the value of a variable. Now this is just getting stupid lol
Moonman
March 23rd, 2002, 03:35
i know, but it is true that a huge script like a forum, would slow down a fair bit if you used double quotes instead of those single ones.
cheatpark
March 23rd, 2002, 05:52
Originally posted by Themanonthemoon
although instead of
<?
$nick-=-"moonman";
$favurl-=-"http://www.freewebspace.net";
print($nick-<br>-);
print($favurl);
?>
to make it load quicker i could have done
<?
$nick-=-'moonman';
$favurl-=-'http://www.freewebspace.net';
print($nick-<br>-);
print($favurl);
?>
not that it would have made much difference in a script that size.
double quotes are only necassary if you need to interpret the value of a variable.
I don't think it does load quicker because they are both characters and have the same value/size.
Moonman
March 23rd, 2002, 07:12
actually it does, because with double quotes PHP thinks it would have to interperet the value of a variable, but it will take a sec to figure out that it doesnt.
agiantdwarf
March 23rd, 2002, 21:33
To learn PHP, get a book, read the manual to get the basics (or read one of the 90 gazillion "php basics" tutorial) then read all the articles on PHPbuilder.com. It used to update, but then it was bought. Too bad. Still a good site, and the forums are great.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.