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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Depends on the time of year
    Posts
    478
    Thanks
    0
    Thanked 0 Times in 0 Posts

    calling in from mysql, a bit more than that...

    I'm creating a database with a lot of data inserted into them. These include first name, last name, an auto increment number, age, b'day, height etc.

    I'm curious if I can just call in certain columns on one page, and if you click on that person's name, you can go to a page which will show that person's complete data.

    I've done the first step, which calls in just the first and last name, but I want to click on the person's name and on a new page get all the detail of that person. I'm trying to avoid creating a seperate php file for each one to call in the data, I'm hoping that there is just one file i have to make which can take care of that.

    hope i worded everything right..

    thanks
    umang

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Depends on the time of year
    Posts
    478
    Thanks
    0
    Thanked 0 Times in 0 Posts

    forgot to mention

    I call in all the records in the table using a while loop..

    while ($dbRow = mysql_fetch_object($dbResult))
    {
    print("$dbRow->nameLast" . ", " . "$dbRow->nameFirst <br>\n");

    }

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Depends on the time of year
    Posts
    478
    Thanks
    0
    Thanked 0 Times in 0 Posts

    figured it out... thanks anyway

    faqts.com had the solution.


  •  

    Posting Permissions

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