PHP: MySQL tablo yapısı

0 Cevap php

I'm developing a website that has some audio courses, each course can have multiple lessons. I want to display each course in its own table containing its different lessons.

Ben bir veritabanı ne tür yapmak gerekir?

örneğin, statik bir web sitesi olarak:

Ders 1 - 1. Konuşmacı

    <p><span class="date">Posted in <a href="Audio.html">TAG 1</a>, december 12, 2010</span></p> 
    <class id="text">
    <p>Info: blablabla</p>
    <p>&nbsp;</p>
    <table  border: none cellpadding="1" cellspacing="1">
      <tr>
        <th scope="col">Nr.</th>
        <th scope="col">Lesson</th>
        <th scope="col">Date </th>
        <th scope="col">Download</th>
      </tr>
      <tr>
        <td scope="row">1</td>
        <td>blablabla</td>
        <td>22/12/2010</td>
        <td><a href="">MP3</a></td>
      </tr>
      <tr>
        <td bgcolor="#D6D6D6" scope="row">2</td>
        <td>blablabla</td>
        <td>22/12/2010</td>
        <td><a href="">MP3</a></td>
      </tr>
    </table>

Ders 2 - Hoparlör 2

    <p><span class="date">Posted in <a href="audio.html">TAG 2</a>, december 12, 2010</span></p> 
    <class id="text">
    <p>Info: blablabla</p>
    <table  border: none cellpadding="1" cellspacing="1">
      <tr>
        <th scope="col">Nr.</th>
        <th scope="col">Lesson</th>
        <th scope="col">Date</th>
        <th scope="col">Download</th>
      </tr>
      <tr>
        <td scope="row">1</td>
        <td>blablabla</td>
        <td>06/12/2010</td>
        <td><a href="01.mp3">MP3</a></td>
      </tr>
      <tr>
        <td scope="row">2</td>
        <td>blablabla</td>
        <td>13/12/2010</td>
        <td><a href="02.mp3">MP3</a></td>
      </tr>
    </table>

0 Cevap