I must create a simple plan: enter image description here Used to do something similar to this:


CREATE TABLE Otherwise Is available `plan` (

  `id` int(20) NOT NULL AUTO_INCREMENT,

  `a` varchar(25) NOT NULL,

  `b` varchar(25) NOT NULL,

  `c` varchar(25) NOT NULL,

  `d` varchar(25) NOT NULL,

  `e` varchar(25) NOT NULL,

  PRIMARY KEY (`id`)

) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5

however it does not work too well...

If only that each cell includes a unique ID in TD.

Now's:


    foreach($rows as $row)

    

and today i can not make reference to just one TD. i wold like edit for instance only ID: 20.

just how plan database?

thank you for help!

Every cell/<td> does not need an ID. Place the ID around the row/<tr>, as is available completed in your database schema.

Then it ought to be a trivial task to recognize the various posts per row.

The database:

| id | a | b | c | d | e |
--------------------------
| 1  | t | t | t | t | t |

The HTML:

<table>
    <tr>
        <th>id</th>
        <th>a</th>
        <th>b</th>
        <th>c</th>
        <th>d</th>
        <th>e</th>
    </tr>
    <tr class="id-1">
        <td class="id">1</td>
        <td class="a">t</td>
        <td class="b">t</td>
        <td class="c">t</td>
        <td class="d">t</td>
        <td class="e">t</td>
    </tr>
    <tr class="id-2">
        <td class="id">2</td>
        <td class="a">u</td>
        <td class="b">u</td>
        <td class="c">u</td>
        <td class="d">u</td>
        <td class="e">u</td>
    </tr>
</table>

Or I have misinterpreted you )