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!


Results 1 to 8 of 8

Thread: PHP Noob here.

  1. #1
    Join Date
    Nov 2006
    Location
    Doncaster, UK
    Posts
    1,700
    Tokens
    0

    Latest Awards:

    Default PHP Noob here.

    Ok, so i've got the links up to the main div with help from Rico and Dan.

    But, the usersystem links need to be linked up to the main div aswell.

    How would I go about doing this?

    www.xvisor.connect-hosting.com

    btw.
    unitedstates,canada,mexico,panama,haiti,jamaica,pe ru,republicdominian,cuba,caribbean,greenland and el salvadour too.
    puertorica,colombia,venezuela,honduras,guyana and still, guatamala,bolivia then argentina and ecuador,chile,brazil.
    costarica,belize,nicaragua,bermuda,bahamas,tobago, sanjuan,paraguary,uruguay,suriname,frenchguiana,ba rbados and guan.
    norway and sweden and iceland and finland and germany now one piece, switzerland,austrira,czechoslovakia,italy,turkey and greece.



  2. #2
    Join Date
    Aug 2006
    Posts
    96
    Tokens
    0

    Default

    *Removed* .n...o.....o.....b...

    Edited by -legoman- (Super Moderator) Please do not avoid the filter.
    Last edited by Dan; 27-11-2006 at 07:44 PM.

  3. #3
    Join Date
    Nov 2006
    Location
    Doncaster, UK
    Posts
    1,700
    Tokens
    0

    Latest Awards:

    Default

    That's an excellent response.

    I'll use that in my nav.php - thanks alot brother....

    noob.
    unitedstates,canada,mexico,panama,haiti,jamaica,pe ru,republicdominian,cuba,caribbean,greenland and el salvadour too.
    puertorica,colombia,venezuela,honduras,guyana and still, guatamala,bolivia then argentina and ecuador,chile,brazil.
    costarica,belize,nicaragua,bermuda,bahamas,tobago, sanjuan,paraguary,uruguay,suriname,frenchguiana,ba rbados and guan.
    norway and sweden and iceland and finland and germany now one piece, switzerland,austrira,czechoslovakia,italy,turkey and greece.



  4. #4
    Join Date
    Aug 2006
    Posts
    96
    Tokens
    0

    Default

    np sisterrrrrrrrrr

  5. #5
    [N] Guest

    Default

    Nice template, i think you could add one or 2 more things to it to make it look better, but overall it really good

  6. #6
    Join Date
    Nov 2006
    Location
    Doncaster, UK
    Posts
    1,700
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Unpredictable View Post
    Nice template, i think you could add one or 2 more things to it to make it look better, but overall it really good
    What's that gotta do with php? lol.
    unitedstates,canada,mexico,panama,haiti,jamaica,pe ru,republicdominian,cuba,caribbean,greenland and el salvadour too.
    puertorica,colombia,venezuela,honduras,guyana and still, guatamala,bolivia then argentina and ecuador,chile,brazil.
    costarica,belize,nicaragua,bermuda,bahamas,tobago, sanjuan,paraguary,uruguay,suriname,frenchguiana,ba rbados and guan.
    norway and sweden and iceland and finland and germany now one piece, switzerland,austrira,czechoslovakia,italy,turkey and greece.



  7. #7
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    In your includes, you should only have body stuff, if you have stuff from the head of a HTML document it means you have <head></head>'s all through your body. Not good practice.

    This is a simple nav like you have it. Just place this where the content is to go:
    PHP Code:
    <?php
                    $p 
    strtolower($_GET['p']);
                    if (!empty(
    $p))
                        {
                            if (
    file_exists("$p.php"))
                                {
                                    include(
    "$p.php");
                                }
                            else
                                {
                                    echo 
    "Link is wrong darling. (File <strong>$p.php</strong> doesn't seem to exist in this directory..)";
                                }
                        }
                        
                    else
                        {
                            echo 
    "Ta-dah! Welcome to the brand new admin panel!"// Could be replaced with an include, etc.
                        
    }
                    
    ?>
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  8. #8
    [N] Guest

    Default

    Quote Originally Posted by Netik View Post
    What's that gotta do with php? lol.
    lool soz 2 be honest i didn't even read it i just saw a link and pressed it and saw a template.

Posting Permissions

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