<table> <?php { $idd = $row['id']; ?> <tr> <td><img src="./images/package.png" alt="[package.png]" /></td> <td> </td> <td style="text-align: center;"> <?php ?> </td> <td style="text-align: center;"> <?php ?> </td> <td style="text-align: center;"> <?php ?> </td> </tr> <?php } ?> </table>
zapytanie otrzymane przez MySQL bezposrednio w terminalu:
mysql> SELECT * FROM `forumS` ORDER BY `id` ASC -> ; +----+----------+-------------------------+------+ | id | section | description | date | +----+----------+-------------------------+------+ | 1 | Offtopic | Otwarty dla wszystkich. | 0 | | 2 | Test | | 1 | +----+----------+-------------------------+------+ 2 rows IN SET (0.00 sec) mysql>
a taki efekt otrzymuje w przegladarce:
http://img257.imageshack.us/my.php?image=27665591kp8.png
i nie moge dojsc gdzie blad sie znajduje...