SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Almeaty Member
    Join Date
    Jul 2000
    Location
    Nowhere
    Posts
    278
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or any tutorials? I've found the article of Kevin Yank. With the help of this guide I set up my database successfully and also wrote a small PHP script which fetches one cell of the database.

    What I want to do now is making a script which gets the info and display them on the page. So when I type in the URL http://anything.com/anypage.php3?id=1 it should display the appropriate project from our database.

    Thanks for any help and codes!

    ------------------
    Matthias Hagemann

    Need some source code?
    icosmoss.com - The Open Source Community

  2. #2
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't understand...if you've read Kevin's article you'll see that it totally walks you through such a task...you may have to re-read parts of it, I know I did.



    ------------------
    Chris Bowyer chris@mycoding.com
    MyCoding.com: Visit for Launch Notification!
    DomainMailings.com: Who Says All The Good Ones Are Taken?
    MovieForums.com: Talk About Your Favorite Flicks!

  3. #3
    Almeaty Member
    Join Date
    Jul 2000
    Location
    Nowhere
    Posts
    278
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, this task isn't described in this article

    There's something for displaying one cell (JokeText) but I would like to set up a whole page which displays all cells of my database's table. So by finding the ID it generates a dynamic page where the cell's content is shown. I often see links and URLs like: .../page.php3?id=123 also in the URL for that tutorial. This is what I want to do.

  4. #4
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Examples of what you're after are definitely presented later in the article series; however, after finishing Part Three you should already have all the information you need.

    Did you just read the JokeText example in Part Four, or have you also read Part Two, which describes the SQL commands for listing multiple columns from your table? Equipped with these two skills, it should be obvious how to do what you want.

    If you really need some sample code to copy, the Challenge Solution at the end of Part Four fetches both the "ID" and "JokeText" columns from the database. Expanding this code to fetch as many columns as you want should be child's play.


    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!


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
  •