Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: PHP Start

  1. #1
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default PHP Start

    I want to start trying PHP.

    Could someone name one of the easiest PHP scripts that would be good for beginners?

    Also, other then w3schools are there any good PHP tutorial websites?


    Selling DJ/Habbo layout, more info here.


  2. #2
    Join Date
    Oct 2007
    Location
    Luton, England
    Posts
    1,548
    Tokens
    388
    Habbo
    DeejayMachoo

    Latest Awards:

    Default

    umm techtuts.com


  3. #3
    Join Date
    Jan 2007
    Location
    Canada eh?
    Posts
    766
    Tokens
    75

    Default

    Well....
    My first script ever was my PhP My-Admin. You can download it and take a look:

    http://quickscriptz.ca/v3/freebies-admin.php

    More Tuts:
    http://www.tizag.com/phpT/
    Last edited by QuickScriptz; 07-11-2007 at 01:47 AM.

  4. #4
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    pixel2life.com

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  5. #5
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default

    I've just looked at some explaining, my code so far is very lame.

    I'm creating a register themed thing. Im having problems with one code though.

    Code:

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>

    <body>

    <?php
    // retrieve form data
    $email $_POST['email'];
    // check entered value and branch
    if ($email = @hotmail.com) {
        echo 
    'Sorry, we do not accept @hotmail.com users!';
        }
    else {
        echo 
    "On to the next step....
        
    <form action="
    username.php" method="post">
    Enter desired username: <input name="
    username" size"20">
    </form>"
    ;
    }

    ?> 

    </body>
    </html>
    The error is: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/habboboa/public_html/wlphp/passemail.php on line 20

    Line 20 is the line that has "<form action="username.php" method="post">".

    Help appreciated.


    Selling DJ/Habbo layout, more info here.


  6. #6
    Join Date
    Sep 2006
    Location
    Doncaster, UK
    Posts
    4,081
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
    <?php
    echo="LOLZ"
    ?>
    www.php.net
    Quote Originally Posted by Nain View Post
    i voted 'Not Sure' as im, not sure!

  7. #7
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default

    PHP.net is a fantastic resource. CHeck out the comments for functions, will save you a lot of time.

    http://www.phpbuilder.com and http://www.good-tutorials.com are good also.

  8. #8
    Join Date
    Jan 2007
    Location
    England, Uk, World, Universe,
    Posts
    1,012
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by adamFTW View Post
    I've just looked at some explaining, my code so far is very lame.

    I'm creating a register themed thing. Im having problems with one code though.

    Code:

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
     
    <body>
     
    <?php
    // retrieve form data
    $email $_POST['email'];
    // check entered value and branch
    if ($email = @hotmail.com) {
        echo 
    'Sorry, we do not accept @hotmail.com users!';
        }
    else {
        echo 
    "On to the next step....
     
    <form action="
    username.php" method="post">
    Enter desired username: <input name="
    username" size"20">
    </form>"
    ;
    }
     
    ?> 
     
    </body>
    </html>
    The error is: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/habboboa/public_html/wlphp/passemail.php on line 20

    Line 20 is the line that has "<form action="username.php" method="post">".

    Help appreciated.
    change line 20 to <form action=\"username\" method=\"post\">
    my sig ran away,

  9. #9
    Join Date
    Oct 2007
    Location
    Luton, England
    Posts
    1,548
    Tokens
    388
    Habbo
    DeejayMachoo

    Latest Awards:

    Default

    Quote Originally Posted by adamFTW View Post
    Code:

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>

    <body>

    <?php
    // retrieve form data
    $email $_POST['email'];
    // check entered value and branch
    if ($email = @hotmail.com) {
        echo 
    'Sorry, we do not accept @hotmail.com users!';
        }
    else {
        echo 
    "On to the next step....
        
    <form action=\"username.php\" method=\"post\">
    Enter desired username: <input name=\"username\" size\"20\">
    </form>"
    ;
    }

    ?> 

    </body>
    </html>
    Try that


  10. #10
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default

    That didnt work, no matter what you input for the email it says no @hotmail.com users.


    Selling DJ/Habbo layout, more info here.


Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •