![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Przyjaciele php.pl Postów: 215 Pomógł: 0 Dołączył: 28.10.2003 Skąd: - Ostrzeżenie: (0%) ![]() ![]() |
Witam,
[php:1:985482a1f2]<?php $rs = $db->GetAll("SELECT idArtykulu, tytul FROM pages"); ?>[/php:1:985482a1f2] wynikiem jest ... Kod Array ( [0] => Array ( [idArtykulu] => 1 [tytul] => Jakiś tam ) [1] => Array ( [idArtykulu] => 2 [tytul] => Jakiś tam ) )
Problem: Z wynikow otrzymanych z bazy danych musze utworzyc List/Menu [xml:1:985482a1f2] <select name="_pageId" class="input"> <option label="{$idArtykulu}" value="{$idArtykulu}">{$tytul}</option> </select> [/xml:1:985482a1f2] Nie znam Smarty na tyle dobrze aby poradzic sobie z tym problemem. Bardzo prosze o pomoc. pozdrawiam -------------------- <span style="font-weight: bold;">Open Source Enterprise Content Management</span>
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 10:12 |