Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Search & Display Sql database table information

    Im extremly new to Php and Mysql. Im wondering if anyone can help me out with somthing.

    Id like to be able to create a search button. Where a user can search a member on my website and it display there details.

    E.g in my table ''members'' id like for when someone searchs a member it to display somthing like.

    Username
    Age
    Location

    Ive got the rows already set Username, Age & Location. With the fields filled in.

    Thank you.

  • #2
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,542
    Thanks
    45
    Thanked 259 Times in 256 Posts
    So you're curious about what, the PHP? The MySQL? What do you have so far?

  • #3
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Its difficult to explain but its basically for an online game, Ive got the database already setup in mysql. So example the database = ''database'' Table i want to search is ''members'' and the rows will be ''username'' ''age'' ''location'' for example.

    So basically i want to have a search button where somebody can search a certain username and it grab the username, age, location data from the rows and display it on webpage. If that makes any sense?

  • #4
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,542
    Thanks
    45
    Thanked 259 Times in 256 Posts
    Yah, but I'm asking what you have so far... are you just curious of the overall how to do it? I mean, I'm not about to simply build you a search engine

  • #5
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hm, Well so far i followed tutorials on how to create a register & login page, Then a further email activation page.

    At the moment i simply have the design for the page and a search button :/

    Like i saw im extremly new to this, I start an Open university course in Feb 2011 in computer mathmatics and data computing, Hoping to do Java programming, My next 3 courses are Beginners course in Java & Some visual basic. Working towards a diploma My aim is to create a simple 2d game, So untill then im trying to pick up what i can along the way. Thanks for your replys also Keleth Im maybe looking for a little to much but im just trying to learn from people who already know this stuff.


  •  

    Posting Permissions

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