![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 107 Pomógł: 0 Dołączył: 10.07.2003 Ostrzeżenie: (0%) ![]() ![]() |
Jak dane wyświetlane w combo boxie przeslac dalej do nastepnego formularza?
[php:1:54d7f75c28]<form action="?gdzie=<? ......................; ?>" method="post"><table width="70%" tr><td width="39%" class="txt">Kondygnacja</td> <td width="43%"><select name="id_kond" size="1"> <? while ($row = mysql_fetch_assoc($kondygnacja)) { ?> <option value="<? print "$row[nazwa_kond]";?>"><? print "$row[nazwa_kond]";?><? } ?></select></td> <td width="18%"><input type="submit" name="Submit" value="dalej"></td></tr> </table> </form> [/php:1:54d7f75c28] |
|
|
![]()
Post
#2
|
|
![]() Administrator planeta/IRC Grupa: Przyjaciele php.pl Postów: 385 Pomógł: 0 Dołączył: 19.04.2003 Skąd: Zabrze Ostrzeżenie: (0%) ![]() ![]() |
Input typu hidden:
[php:1:72684641a1]<input type="hidden" name="id_kond" value="<?php echo $_POST['id_kond'] ?>" />[/php:1:72684641a1] lub w sesji. -------------------- "Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning."
Cudi's devBlog |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 26.06.2025 - 01:14 |