Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2006
    Location
    London
    Posts
    3,536
    Tokens
    170

    Latest Awards:

    Default Profiles [PHP][MySQL]

    Ok Guys,

    I need to make a profiles system where users on a panel can enter their own details into the profiles and then the profiles need to be displayed on a page.

    Anyone know a tut I can write one based on?
    2005: JOINED ; Radio DJ

    2006: Radio DJ ; Senior DJ

    2007: HxTV Flash Artist ; Productions Staff ; HxHD Staff ; Head DJ ; Events Organiser ; Productions Staff ; Competitions Staff ; Assistant Radio Manager

    2008: Senior Competitions Staff ; Forum Moderator ; HxHD Staff ; Competitions Manager ; Graphics Designer

    2009: LEFT ; Guest DJ

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

    Default

    Okay, no offense but if you need a tutorial to do that then I think you need to learn PHP..... all you really have to do is make a page with the form inputs for all the profile info and then when they hit 'Update Profile' have all the info they typed in saved into a mysql db under their username/name.

    For the view page just do something like this;

    PHP Code:
    <?php
    $user 
    $_GET['user'];
    $u mysql_fetch_array(mysql_query("SELECT * FROM `profiles` WHERE `user` = '$user'"));
    // Print out all the users profile info...
    // echo $u['name'];
    // echo $u['birthday'];
    // etc.
    ?>
    And the url for the view profile page would look like this:


  3. #3
    Join Date
    Dec 2006
    Location
    London
    Posts
    3,536
    Tokens
    170

    Latest Awards:

    Default

    I don't know php that's why I'm asking
    Thanks for that help though.
    Anyone else know any other places I could find a tutorial?
    2005: JOINED ; Radio DJ

    2006: Radio DJ ; Senior DJ

    2007: HxTV Flash Artist ; Productions Staff ; HxHD Staff ; Head DJ ; Events Organiser ; Productions Staff ; Competitions Staff ; Assistant Radio Manager

    2008: Senior Competitions Staff ; Forum Moderator ; HxHD Staff ; Competitions Manager ; Graphics Designer

    2009: LEFT ; Guest DJ

  4. #4
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:


  5. #5
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Well I think that he is trying to say is before you want to make a user system, you need to want to learn PHP.

  6. #6
    Join Date
    Feb 2007
    Posts
    2,941
    Tokens
    0

    Latest Awards:

    Default

    I think he wants a profile system like the 1 powerpanel has

  7. #7
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    Um.. Read through PP's profile code,

    See where everything goes etc.

    The try and make your own, but make sure to include your own style and not just copy simons or you'll never learn.

    For example, i learnt by reading KP.
    Coming and going...
    Highers are getting the better of me

Posting Permissions

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