Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: php profile page

  1. #1
    Flezria is offline Learning Programmer
    Join Date
    Sep 2009
    Posts
    55
    Rep Power
    0

    php profile page

    Hello

    I want to make this "profile page" for my website.
    the idea with it is that you can enter some things about yourself like age, name etc, even a profile picture.
    Im really blank here, anyone could point me in the right direction.
    Some tutorial or guides would be cool

    Thanks guyse

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Re: php profile page

    You need a MySQL Database
    A Registrtion Section
    Login
    Session
    And you need to know how to update data in mysql databases

    Happy Googleing.

  4. #3
    Flezria is offline Learning Programmer
    Join Date
    Sep 2009
    Posts
    55
    Rep Power
    0

    Re: php profile page

    ive done registeration and login. i know how to update and i know how to make mysql.
    I just need to know how i can make it so i dont have to make a file to everyone who register.

  5. #4
    abdul.gafur's Avatar
    abdul.gafur is offline Learning Programmer
    Join Date
    Mar 2010
    Location
    Salo, Riau, Indonesia
    Posts
    42
    Rep Power
    0

    Re: php profile page

    You just need to gathering information about user that login at your website.

    If user login, we can get id of user, with that id we can get profile of the user from database and display it.

    Start to create the php file. if you find problem, we can discuss later. Take heart.

  6. #5
    Flezria is offline Learning Programmer
    Join Date
    Sep 2009
    Posts
    55
    Rep Power
    0

    Re: php profile page

    Thanks alot, i will take a look on it

  7. #6
    Jaan Guest

    Re: php profile page

    Doing a profile page is pretty simple.. Just insert textboxes to registration form with fields that you want.. for example..
    HTML Code:
    Username<br />
    <input type="text" name="username" /><br />
    Email<br />
    <input type="text" name="email" />
    Then add those fields to database and just display them in your profile page.

  8. #7
    Flezria is offline Learning Programmer
    Join Date
    Sep 2009
    Posts
    55
    Rep Power
    0

    Re: php profile page

    Hey jaan, thanks for your answer
    I know how to do it, i will do like adding fields to my db and then just row them out.
    But if im making ONE page and row the information out, other users cant view MY information, but they will get their own information. Can you see my problem??
    I will like to know how every user can view others profile, thanks

  9. #8
    abdul.gafur's Avatar
    abdul.gafur is offline Learning Programmer
    Join Date
    Mar 2010
    Location
    Salo, Riau, Indonesia
    Posts
    42
    Rep Power
    0

    Re: php profile page

    Select all id and name of users, next display them as a link.

    ----------------------------------------------------
    for each id do :
    $id = ...; //get id from database
    $name = ...; ////get name from database
    <a href="detailprofile.php?id=$id">$name</a>
    ------------------------------------------------------

    and at detailprofile.php
    you get id with $_GET, and this time, you select all information of user with that id, display it

    *** I assume that you dont have problem with syntax

  10. #9
    Flezria is offline Learning Programmer
    Join Date
    Sep 2009
    Posts
    55
    Rep Power
    0

    Re: php profile page

    Thanks for your answer
    i know the syntax, so shouldnt be a problem.
    I will try your way, and see what happens
    Thank again

  11. #10
    Jaan Guest

    Re: php profile page

    @abdul yea you are correct..

    you should have this url like this: useinfo.php?id=1
    for example ofc..
    and this id is 1 so you have to order information about a field which contains id 1.

Closed Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Registration with profile
    By JasonReynolds in forum PHP Development
    Replies: 3
    Last Post: 02-16-2010, 06:55 AM
  2. Help profile settings
    By ahmed in forum C# Programming
    Replies: 5
    Last Post: 12-03-2008, 01:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

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