Dynamic PHP tables outputted to HTML?

Discussion in 'PHP' started by mezner, Feb 14, 2010.

  1. #1
    The title is confusing I know, but please listen as I explain my current dilemma. I am working with a client who has a very large table (6 or so rows, but with hundreds of columns). He adds a new column to the table everyday, and I was trying to figure out a better solution then just making a new column in the HTML code. Is there any better way of doing this?

    I was hoping to find a script that would allow you to basically create a mysql table, and in that table he could fill out a new row for each day, and there would be some sort of PHP code that would display the latest entry first. Please mind you its all numbers and some text (10characters max), but with about 6 different rows for each column in the html table. Please help me!
     
    mezner, Feb 14, 2010 IP
  2. georgiivanov

    georgiivanov Member

    Messages:
    62
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    25
    #2
    Take a look here: http://www.php.net/manual/bg/function.mysql-list-fields.php
     
    georgiivanov, Feb 14, 2010 IP
  3. mezner

    mezner Peon

    Messages:
    289
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, now I got to figure out how to set it up for my own use.
     
    mezner, Feb 14, 2010 IP