1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Hi there!

    Im quite new to both PHP and MySQL.
    As an exercise Im just trying to develop a news forum with PHP and MySQL. What Im looking for is an advise of how to layout the
    I thought about something like this:
    Key: topicID
    other columns: parent (for replys), kids (for number of kids), root (for distance to root news), and some columns for name, date and so on.
    Is that a good idea?
    If somebody could help Id be really happy

    Thanks and take care everybody!
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Have a look at the source for Phorum for ideas:




    $s = array("J","A","p","h","p","H");
    for ($i = 0; $i <= 9; $i++) { echo $s[$i]; }

    [This message has been edited by dahamsta (edited 08-20-99).]

Similar Threads

  1. Check MySQL Version thru PHP
    By wolftrap1 in forum PHP Development
    Replies: 2
    Last Post: February 11th, 2004, 08:51 PM
  2. Replies: 0
    Last Post: February 10th, 2004, 11:44 PM
  3. Replies: 0
    Last Post: January 30th, 2004, 01:22 PM
  4. PHP 5 (MYSQL vs. SQLite)
    By ignition in forum PHP Development
    Replies: 1
    Last Post: January 23rd, 2004, 12:13 PM
  5. PHP Reconfig with mysql...
    By Legendary Fox in forum PHP Development
    Replies: 3
    Last Post: January 22nd, 2004, 11:46 PM

IMN logo majestic logo threadwatch logo seochat tools logo