• I don’t think its “advanced”, and thought this would be a trivial thing in WordPress, but after spending 2 hours searching the Internet, it appears to be another thing that isn’t…

    Table in mySQL database… DON’T worry about the SQL. I can write SQL,even for mySQL all day.

    I want to display the table data on a WordPress page. Or form. Or whatever WordPress can use that’s built-in, and easily usable.

    Doesn’t have to be gorgeous, just a simple display with a series of rows just like phpmyadmin does……

    I figured it would be a trivial matter of creating a page, sticking in the SQL code, and displaying it in a table. Appears not to be…
    SO, without going through a ludicrous amount of pain and anguish, writing umpteen lines of php or html or digging through arcane codex bits, is there a simple, straightforward way to display the contents of a table on a page?

    Once I have that, question #2 will be, “How do I make it updateable?” BUT, let’s start with displaying…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello.
    Try creating a custom page template, therein, place your markup (and calls to the data):

    <table>
      <tr>
        <td> </td>
        <th>Monday</th>
        <th>Tuesday</th>
        <th>Wednesday</th>
        <th>Thursday</th>
        <th>Friday</th>
      </tr>
      <tr>
        <th>8:00-9:00</th>
        <td>Meet with Sam</td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <th>9:00-10:00</th>
        <td> </td>
        <td> </td>
        <td>Doctor Williams</td>
        <td>Sam again</td>
        <td>Leave for San Antonio</td>
      </tr>
    </table>

    Good luck!

    Thread Starter SkyyKorat

    (@skyykorat)

    Cool. I’ll have to go play with page templates, and see what I can do with them.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying table data on a page’ is closed to new replies.