Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 10-31-2003, 06:22 AM   #1 (permalink)
Huggles, sir?
 
seretogis's Avatar
 
Location: Seattle
[php] Newbie-friendly PHP "Lessons"

I've had half a dozen people ask me to teach them PHP in the last few months, so I decided to start working on some easy to understand PHP lessons to help people teach themselves the basics. I only have a couple finished right now, and am always looking for some input, so even if you know PHP already, let me know what you think of these. I am including them in a couple of formats -- text, in the post below, and tarred/gzipped links so you can download them.

Lessons:
00 - What is PHP? - ( Scroll Down )
01 - Comments - ( Download Link )
02a - Variables - ( Download Link )
02b - Variables - Arrays - ( Download Link )
03a - Loops - if/else - ( Download Link )
03b - Loops - for/foreach - ( Download Link )
04 - Functions
__________________
seretogis - sieg heil
perfect little dream the kind that hurts the most, forgot how it feels well almost
no one to blame always the same, open my eyes wake up in flames

Last edited by seretogis; 11-20-2003 at 01:52 AM..
seretogis is offline  
Old 10-31-2003, 06:26 AM   #2 (permalink)
Huggles, sir?
 
seretogis's Avatar
 
Location: Seattle
Lesson 00 - What is PHP?
Quote:
First, before getting into the specifics of PHP, let's begin with understanding how a web server and HTML works. When you type in a url and hit "enter" you are sending a request to the server to retrieve the document that you have specified. The web server looks at the url that you specify and looks for a matching document, finds it (or doesn't) grabs it, and sends it to you. Your web browser then parses (i.e. looks through) the data and displays it to you. Any change that is made to that HTML file will be viewable by you in the source, and so is considered "client-side." JavaScript is the same way -- the interpretation of the JavaScript is left up to your browser, and so is no work for the server at all, since it just hands the data over to you.

PHP is a bit different. When you request a PHP file, the web server grabs the file and then -- instead of just sending it on to you -- the server itself looks through the file and does the necessary logic (e.g. fetching information from a database, inserting dates, names, and other dynamic data) and then sends the results to your web browser. If you view the source of a PHP file you will only see HTML and JavaScript because all of the work that the PHP/web server does is "server-side." It is done before you ever see a thing.

-- to be continued --
Below is a list of the contents of each lesson file. You should be able to copy/paste the lessons below into a text editor and save the file with a .php extension, and have it work. I will try to keep these as up-to-date as possible.

Lesson 01 - Comments
PHP Code:
<?

/*  When you see text with a forward-slash and asterix before it, or two
    forward slashes, that means that it is a 'comment', or just normal text
    which is flagged to be ignored by the PHP engine. The slash-star method
    is best for multiline comments, because you only need to put a slash-star
    when you want the comment to start, and a star-slash when you want it to end. */

//  This is the other form of comments, and in order to use them you
//  need to have a double-slash at the beginning of each line.  This is
//  ideal for small one line comments like variable descriptions.


/*  You will notice that this php file has nothing in it but comments.  So, when run,
    it will do absolutely nothing. */

/*  Now, you may ask, if these are just comments, wtf are <? and ?> doing in here?
    Those are the "php tags".  Before PHP code starts, you put <? and after it ends,
    you put ?>.  It acts similarly to html tags like <table> and </table>. All php (including
    comments) MUST be between the <? and ?> tags.

    Because PHP is a server-side language, all of the stuff between <? and ?> is parsed
    (looked at, executed) by the server before it ever gets to your web browser.  So,
    if you load this up with a web browser and try to "view source" you will see nothing
    at all.  The only part of a PHP program that the web browser will see it the output,
    aka the results of the program. */


/*  ****  Task #1 ***
    Try making your own comment in the space below, including whatever you like.  Try
    out both types of comments /* and // and check to make sure that none of this makes
    it to the web browser!

    Spacing is important in order to retain readability, so try to use four spaces, or
    tabs in order to indent when you need to. */

?>
Lesson 02a - Variables

PHP Code:
<?

/*  There are a few different kinds of variables in PHP.  First off, variables are
    the basis of any programming language, and are what gives a program the ability
    to be dynamic.  Variables of all types are denoted by a dollar sign ($) before
    the name.  So, $fruit is a variable named "fruit".  What it contains, however,
    is generally up to you.

    In PHP you don't need to initialize variables -- if you refer to one, it is just..
    "there".  So, you need to be careful about spelling variables consistently and
    not to make typos, because the PHP engine won't really warn you about it and it
    can lead to some frustrating bug-hunting.

    Let's start off with pre-defined variables.  These are variables which PHP itself
    sets every time that it looks through a php file.  These are things like the
    location of the file (02 - variables.php in this case), IP of the person who
    is accessing the file, etc.

    A simple example of setting a variable, is shown below:
*/

    $greeting = "Hello";

/*  You'll notice a few things about this statement which holds true to many things
    about php.  First, the variable is to the left of the = because you are setting
    the value of it, to Hello.  It's easy to understand why if you speak it out-
    loud, "greeting equals Hello".  Secondly, notice how Hello is in quotes?
    This is because it is a string, not a numeric value (like the integer 2, or a
    decimal like 3.14).  All strings need to be surrounded by quotes when you echo
    or manipulate them in any way.  Lastly, notice the semi-colon at the end?  For the
    most part if you make a single statement you need a semi-colon after it to tell PHP
    that you are done.  Think of it as a period.  Loops are an exception to this, but we
    will get to those later.

    Capitalization is very important in PHP.  It is generally a good idea to have all
    variables be entirely lowercase, and only use alphanumeric characters along with
    underscores (_) if necessary.  $greeting is not the same as $Greeting, so it is
    important to remain consistent and watch the typos.

    Now that we have set $greeting, let's do something with it: */

    echo $greeting . " World!<br>";

/*  Whoa, what kind of craziness is this, you ask?  Let's take it one chunk at a time.
    Firstly, "echo" is a command which will print out whatever is to the right of it, to
    the output as long as it exists.  So the first thing that will be echoed is "Hello".
    The period is a concatination operator, which essentially means that it "joins" the
    values to the left and right of it.  So, we are joining the contents of the variable
    greeting with the string " World!" (notice the space!) and printing it out.  The end
    result should print out "Hello World!" to your browser.

    Another way to do this very same thing is to include the variable in the double-quotes
    like below:  */

    echo "$greeting World!<br>";

/*  This will also print out "Hello World!" just as the first example did.  One thing that
    you need to be careful about, however, is what kind of quotes that you use.  Double
    quotes will work fine in the above example, but if you use single quotes (''s) it will
    instead print out "$greeting World!" -- this is because single quotes convert whatever
    is inside them, to a string without parsing any potential variables.

    *** TASK #1 ***

    $SERVER_NAME is a predefined variable which contains the name of the server host (i.e.
    www.seretogis.org) and can be used just like any other variable.

    In the space below, change $greeting to something else (e.g. "Goodbye Cruel") and then
    print out the following, where "www.x.org" is the $SERVER_NAME variable, and Hello is
    your new greeting:
        Hello World, from www.x.org!  */


?>
Lesson 02b - Variables - Arrays

PHP Code:
<?

/*  As valuable as singular variables are, arrays are priceless.  An array is basically a
    "stack" of different values, all assigned to different part (indexes) of one variable.
    In order to keep each value separate from the other, they are assigned different numeric
    indexes.  By default, indexes start at 0 and work their way up.  So, the first value that
    you set to an array named $fruit would be referred to as $fruit[0].  I will create an array
    and echo it's contents below:
*/

    $fruit = array( "orange", "apple", "banana" );

    echo $fruit[0] . "&lt;br&gt;"; // will echo "orange" and a newline
    echo $fruit[1] . "&lt;br&gt;"; // will echo "apple" and a newline
    echo $fruit[2] . "&lt;br&gt;"; // will echo "banana" and a newline
    echo $fruit[43] . "&lt;br&gt;"; // will echo nothing but a newline, because index 43 is not set!

/*  An array with numeric (number) indexes is known as a "numerically-indexed array".  You can
    also use words as an index, and that sort of array is referred to as a "hash" by perl veterans.

    Logically, the two types of arrays work the same, but creating a hash and referring to its
    contents works a little differently, as shown below:
*/

    $person = array( "name" =&gt; "Bob",
                     "age" =&gt; 25,
                     "gender" =&gt; "male",
                     "human" =&gt; true );

    echo $person['name'] . "&lt;br&gt;";
    echo $person['age'] . "&lt;br&gt;";
    echo $person['gender'] . "&lt;br&gt;";

/*  As you see in the previous example, both types of arrays can contain a wide variety of data,
    not just strings, but also integers, booleans (true/false), etc.


    *** TASK #1 ***

    In the space below, create a numerically-indexed array called $weekdays and set to it,
    the names of each day of the week ("Monday", "Tuesday", etc).  Then, echo out each one
    with a &lt;br&gt; after it so that they show up in a nice list.  */



?>
Lesson 03a - Loops - if/else

PHP Code:
<?

/*  In the previous lesson you learned what variables are, and how to set and display
    them.  Now that you know how to do that, you will need to learn some basic logic
    called "loops" to enable you to do much more powerful things with PHP.

    The first "loop" we will deal with, is if/else.  Let's use the variable $fruit
    and take a look at it's contents.
*/

    $fruit = "apple";

/*  Now, $fruit is a variable so it is something that we can change at any time.  Let's
    add some logic to examine what $fruit is, and output something depending on its value.
*/

    if ( $fruit == "orange" ) {
        echo $fruit . " is a color!";
    }
    else {
        echo $fruit . " is not orange!";
    }

/*  Let's examine this line-by-line:
        1)  if ( $fruit == "orange" ) {
            This does two things.  First, the part between the parenthesis "( )" is a
            comparison.  It means that $fruit must be equal to the string orange in order
            for the next line to be executed.  Be sure to notice that == is used instead
            of =, this is because the two are very different things.  = is used to set the
            value of something, == is used to compare two values.  == is also case-sensitive,
            so orange is not == Orange or ORAnGe.  If you wanted to check if something is
            NOT equal to a value, use != instead of ==.  If you want to see if a variable
            exists at all, you could just type: "if ( $fruit ) {".  And to check to see if
            a variable does not exist?  You guessed it: "if ( ! $fruit ) {"

            Secondly, notice the left brace "{" -- this is important, as it means that it is
            the beginning of code that is to be executed if the comparison is true.  It is not
            necessary if you only plan on executing one line of code, but if you have any more
            than one line and don't use "{" and "}" your script will break.

        2)  echo $fruit . " is a color!";
            This line is what is executed if the comparison in line 1 is true.  The result
            would this printed to the screen: orange is a color!

        3)  }
            This is the counterpart to "{" -- it notifies PHP that the code to be executed is
            over, and that it can move on to other things.

        4)  else {
            This starts what code should be executed if the comparison is false.  I.e. if the
            value of $fruit is not the string orange.

        5)  }
            This concludes the "else" section, and finishes up your if/else loop!

    The else { } section itself is completely optional.  If you ONLY want to do something if
    a variable has a certain value, all other possibilities be damned, you can just use
    lines one through three.

*/

echo "&lt;br&gt;&lt;br&gt;";
            
/*

    *** TASK #1 ***

    Below, is an example of a broken "if/else" loop.  Fix it and change the value of $fruit so
    that you are sure that both the "if" and "else" blocks work!  Refer to the if/else loop
    above if you need help!
*/


$fruit = "celery";

if ( $fruit = celery ) {
    echo "What? " . $fruit . " is not a fruit!";
else {
    echo $fruit . " is quite fruity.";
{


?>
Lesson 03b - Loops - for/foreach

PHP Code:
<?

/*  I hope that you remember how to work with arrays, because we will be using them quite
    a bit in this lesson.  If you don't, go through Lesson 02b again to refresh your memory.

    The "for" loop is incredibly useful, and in this lesson you will just learn the most
    common usage of it -- to loop through and print the contents of arrays.  We begin!
*/

    $fruit = array( "apple", "orange", "banana", "lemon", "lime" );

    for ( $x = 0; $x < count( $fruit ); $x++ ) {
        echo $fruit[$x] . "&lt;br&gt;\n";
    }

/*  Let's examine this line-by-line:
        1)  for ( $x = 0; $x < count( $fruit ); $x++ ) {
            This may look a bit confusing, so we will break it up even further -- into the
            three statements which it is composed of:
                $x = 0;
                This first expression is something which is executed only once, at the
                beginning of the loop.  This is a good spot to initialize an increment
                variable (something that we will increment in order to move the loop
                forward).

                $x < count( $fruit );
                Remember comparisons?  This second expression is the comparison for the for
                loop.  count( ) is a function which will, literally, count the number of
                entries in the fruit array.  This way, if you go up and add peach to the
                array, you won't have to change the comparison in your for statement,
                because count( ) will know that you added a value.

                $x++
                The third and final part of the for loop is executed after each interation
                of the loop, EVEN IF THE CONDITION IS NOT TRUE.  This is a good place to
                increment your increment variable, as we do here -- $x++ adds 1 to $x.

        2)  echo $fruit[$x] . "&lt;br&gt;\n";
            This line is what is executed if the comparison in line 1 is true.  Notice how $x
            is between the [ ]?  This is because we want a different value to be printed for
            each iteration.  On the first iteration, it will print out $fruit[0], on the second
            it will print $fruit[1], and so on until the condition is no longer met (i.e. $x
            becomes equal to the number of elements in the fruit array.

        3)  }
            This is the counterpart to "{" -- it notifies PHP that the code to be executed is
            over, and that it can move on to other things.


    Next, the "foreach" loop!  Be aware, a foreach loop works ONLY on arrays!  If you give it
    any other sort of variable, it will vomit all over your new shoes.
*/

    foreach ( $fruit as $salad ) {
        echo $salad . "&lt;br&gt;\n";
    }

/*  You already know the basics, so let's just example the first line this time.:
    1)  foreach ( $fruit as $salad ) {
        The first expression "$fruit" is the name of the array that we want to loop through.
        The "as" means that we are going to assign it to th second expression, $salad.  If you
        also want to know the key (the index of the array that you are dealing with in each
        iteration of the loop) you can modify your foreach statement slightly to this:
            foreach ( $fruit as $key => $salad )
            Now, $salad is still the value of each entry in $fruit, but $key is the index/key
            of that particular value.
        That's all there really is to foreach -- it's very simple, no count( ) or $x++ or
        anything like that to worry about -- it auto-increments and handles no comparison.      
*/

echo "&lt;br&gt;&lt;br&gt;";
            
/*
    *** TASK #1 ***

    In the space below, create an array named vegetable with at least four entries, and loop
    through it and print out each value twice -- once using the "for" loop, and once using
    the "foreach" loop.
*/







echo "&lt;br&gt;&lt;br&gt;";
/*
    *** TASK #2 ***

    What?! A second task?  Yes!  Learning how to use for and foreach correctly is so important
    that there is another task.  Below, there is a broken for loop, and a broken foreach loop.
    Fix them both so that they print out the values in $vegetable -- be sure to look over them
    carefully, you never know what sort of simple error there could be! ;)
*/



    for ( $x == 0; $x < count( vegetable ); $x++ )
        echo $vegetable[x] . "&lt;br&gt;\n";
    }


    foreach ( $vetable as salad ) {
        echo $salad "&lt;br&gt;\n";
    }

?>
__________________
seretogis - sieg heil
perfect little dream the kind that hurts the most, forgot how it feels well almost
no one to blame always the same, open my eyes wake up in flames

Last edited by seretogis; 11-20-2003 at 01:50 AM..
seretogis is offline  
Old 11-02-2003, 06:18 PM   #3 (permalink)
Junkie
 
zero2's Avatar
 
Sorry to interupt, but the variable part looks almost like what I'm learning in UNIX right now.
zero2 is offline  
Old 11-02-2003, 10:08 PM   #4 (permalink)
Banned
 
Location: shittown, CA
Those two types of comments are legal in many many languages so some of this will be old hat for folks with a language or two behind there belts.

Looking good man, bring on the interesting stuff.
juanvaldes is offline  
Old 11-02-2003, 11:14 PM   #5 (permalink)
Crazy
 
Cool idea man. I've taken a class in C++, so some of this seems familiar, however, php is foreign to me. An easy to follow guide is just what the doctor ordered.
TequilaJr is offline  
Old 11-02-2003, 11:27 PM   #6 (permalink)
Desert Rat
 
spived2's Avatar
 
Location: Arizona
Is there a way to test php code without having to upload it to a server? Like a program for a virtual enviroment or something
<--Php newbie
__________________

"This visage, no mere veneer of vanity, is it vestige of the vox populi, now vacant, vanished, as the once vital voice of the verisimilitude now venerates what they once vilified. However, this valorous visitation of a by-gone vexation, stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta, held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose vis-à-vis an introduction, and so it is my very good honor to meet you and you may call me V."
- V
spived2 is offline  
Old 11-03-2003, 12:09 AM   #7 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
First of all.. great idea seretogis!

Quote:
Originally posted by spived2
Is there a way to test php code without having to upload it to a server? Like a program for a virtual enviroment or something
<--Php newbie
You can run a http server with php on your own system, so you can test from your home system (don't even need to be connected to the net).

Windows:
HTTP Server:
I recommend Apache. Windows 2000 and XP comes with IIS (Microsoft's Web Server), but as I've never used PHP w/ it, I won't talk about it. As gigawatz said, it is a good quick 'n dirty test enviroment. Google for IIS+PHP if you want to try that. You can get the latest version of Win32 Binaries for Apache at:

http://www.apache.org/dyn/closer.cgi...inaries/win32/

I suggest a 2.x version. At the time of this writing, apache_2.0.48-win32-x86-no_ssl.msi would be appropriate for you. Use the .exe version if you don't have the MSI installer (chances are you already do. XP, 2K, and ME comes with it).

Note: If you're using XP, you need to have XP SP1 installed.

PHP:
You can get PHP from:
http://www.php.net/downloads.php

At the time of this writing, the latest stable version is 4.3.3. You can get it here:

http://www.php.net/get/php-4.3.3-ins.../from/a/mirror

Setup:
Once you install those two programs (apache first, then PHP), edit your apache configuration and add this:

ScriptAlias /php/" c:/path-to-php-dir/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

Then start the Apache service and you should be able to run PHP scripts with no problems.

Other:
There are distributions out there that install everything for you in one big go (and usually come with MySQL, a Database Management System). I've never tried these, so can't verify how good they are. I don't have any links, but I'm guessing you could google for them. Also, below's some links with more indepth insturctions on setting up Apache/PHP/MySQL. Good luck!

http://www.coe.uncc.edu/~asingh/setup_apm.htm
http://www.weberdev.com/ViewArticle.php3?ArticleID=86


Linux
HTTP Server:
Once again, Apache 2.x is recommended. You can get it from:
http://httpd.apache.org/download.cgi

Just chose one of the Unix sources.

PHP:
You can get PHP from: http://www.php.net/downloads.php.

Just choose one of the sources.

Other:
You may want to install MySQL as well. Setting up Apache/PHP on Linux can be a pain, but not too bad. Below are some sites that give you good insturctions on how to do it. These may also go through installing other stuff, like SSL.

http://www.weberdev.com/ViewArticle.php3?ArticleID=378
http://www.devshed.com/Server_Side/P...inglySeamless/
http://www.linuxguruz.com/z.php?id=3...p+mysql+apache


General Links:
The following link(s) will give you setup/install instructions for either Linux or Windows.

http://www.php.net/manual/en/install.apache2.php


OK. That's it. Good Luck. If anyone has anything to add to this or thinks should be changed, just reply to the thread and I'll add it in.

Last edited by Latch; 11-04-2003 at 04:06 PM..
Latch is offline  
Old 11-03-2003, 03:51 AM   #8 (permalink)
Desert Rat
 
spived2's Avatar
 
Location: Arizona
Wow way more information than I expected someone to give. Thank you for taking the time to list those resources for me and anyone else interested.
__________________

"This visage, no mere veneer of vanity, is it vestige of the vox populi, now vacant, vanished, as the once vital voice of the verisimilitude now venerates what they once vilified. However, this valorous visitation of a by-gone vexation, stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta, held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose vis-à-vis an introduction, and so it is my very good honor to meet you and you may call me V."
- V
spived2 is offline  
Old 11-03-2003, 10:55 PM   #9 (permalink)
Crazy
 
Location: Pittsburgh
If you are using XP or 2K apache is not needed, IIS is an option. Due to the fact that this is going to be a personal test system/location IIS will do you just fine. It is provided with the operating system. Then you can locate a php plugin for IIS on php.net. It most likely will be easier to do than the apache + php combination.

However, I am not saying that IIS + php is better, only easier for a quick and dirty test environment.
gigawatz is offline  
Old 11-04-2003, 09:30 AM   #10 (permalink)
Desert Rat
 
spived2's Avatar
 
Location: Arizona
So I have apache installed, downloaded the php program latch recommended, and put the configs in the right place. Now what? I tried making a small *.php file in notepad and I tried running it and of course it wasn't associated with anything. tried it in internet explorer and that was a no-go as well. What do I do?
__________________

"This visage, no mere veneer of vanity, is it vestige of the vox populi, now vacant, vanished, as the once vital voice of the verisimilitude now venerates what they once vilified. However, this valorous visitation of a by-gone vexation, stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta, held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose vis-à-vis an introduction, and so it is my very good honor to meet you and you may call me V."
- V
spived2 is offline  
Old 11-04-2003, 09:57 AM   #11 (permalink)
Insane
 
Location: West Virginia
Bookmarking this thread like woah!
__________________

- Artsemis
~~~~~~~~~~~~~~~~~~~~
There are two keys to being the best:
1.) Never tell everything you know
Artsemis is offline  
Old 11-04-2003, 04:08 PM   #12 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
Quote:
Originally posted by spived2
So I have apache installed, downloaded the php program latch recommended, and put the configs in the right place. Now what? I tried making a small *.php file in notepad and I tried running it and of course it wasn't associated with anything. tried it in internet explorer and that was a no-go as well. What do I do?
The php file needs to go in your root html document directory (which is specified in your Apache config file). Then you point your browser to "http://localhost/yourphpfile.php" and it should run (or give an error if there's a problem with the PHP).

Good luck!
Latch is offline  
Old 11-11-2003, 10:07 PM   #13 (permalink)
Banned
 
Location: shittown, CA
so where is lesson 3?
juanvaldes is offline  
Old 11-11-2003, 11:00 PM   #14 (permalink)
Banned
 
Location: UCSD, 510.49 miles from my love
hello world, how classic...

Code:
class HelloWorld
{
   public static void main(String args[])
   {
      String greeting = "Hello";
      System.out.println(greeting + " World!");
   }
}
same thing, more junk, result:
boolean truth = (php >= java);

looking forward to more.

[edited to correct logic error, may as well be accurate]

Last edited by numist; 11-11-2003 at 11:11 PM..
numist is offline  
Old 11-12-2003, 12:10 AM   #15 (permalink)
Banned
 
Location: 'bout 2 feet from my iMac
System.out.println(truth)
/*output:
false*/
cheerios is offline  
Old 11-12-2003, 04:03 PM   #16 (permalink)
Huggles, sir?
 
seretogis's Avatar
 
Location: Seattle
Quote:
Originally posted by juanvaldes
so where is lesson 3?
Sorry for the delay!

Lesson 3a, on the if/else loop, is now available.

Also, I renamed Lesson 2 (variables) to Lesson 2a, and added a Lesson 2b which deals with arrays.
__________________
seretogis - sieg heil
perfect little dream the kind that hurts the most, forgot how it feels well almost
no one to blame always the same, open my eyes wake up in flames

Last edited by seretogis; 11-12-2003 at 04:40 PM..
seretogis is offline  
Old 11-12-2003, 07:32 PM   #17 (permalink)
Tilted
 
Location: Sydney, Australia
Thanks for all the help. It's a little basic, but that's exactly what the doctor ordered. Still, I wouldn't mind a few more challenging tasks.

Great presentation too.
Addiction is offline  
Old 11-13-2003, 02:39 PM   #18 (permalink)
Banned
 
Location: shittown, CA
you heard the man ser, he wants more!
juanvaldes is offline  
Old 11-20-2003, 12:24 AM   #19 (permalink)
Banned
 
Location: shittown, CA
well?
juanvaldes is offline  
Old 11-20-2003, 01:51 AM   #20 (permalink)
Huggles, sir?
 
seretogis's Avatar
 
Location: Seattle
Quote:
Originally posted by juanvaldes
well?
Part of Lesson 00 "What is PHP?" has been posted.

Also, Lesson 03b - Loops - for/foreach has been posted. Have fun!
__________________
seretogis - sieg heil
perfect little dream the kind that hurts the most, forgot how it feels well almost
no one to blame always the same, open my eyes wake up in flames
seretogis is offline  
 

Tags
lessons, newbiefriendly, php


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:17 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360