Witam,
Muszę na stronie wyswietlic zawartosc jeden wynik z mysql i ten kod mi dziala:
<table cellpadding="0" cellspacing="0" class="standard"><tr><th>Opis</th></tr>
<?php foreach ($product_attributes as $attributes): ?>
<tr>
<td><?php echo $attributes['ProductAttribute']['description']; ?></td>
</tr>
<?php endforeach; ?>
</table>
ale jak zmienie tak:
<table cellpadding="0" cellspacing="0" class="standard"><tr><th>Opis</th></tr>
<?php foreach ($products_groups as $group): ?>
<tr>
<td><?php echo $group['ProductsGroups']['description']; ?></td>
</tr>
<?php endforeach; ?>
</table>
to już nie dziala. Tabela z mysql to „products_groups“ i chce żeby był widoczny „description“
Czy ktoś umie mi pomóc?