Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySQL][PHP]Dynamiczne pole tekstowe
ber32
post 6.08.2011, 08:20:46
Post #1





Grupa: Zarejestrowani
Postów: 332
Pomógł: 22
Dołączył: 6.07.2010

Ostrzeżenie: (0%)
-----


Witam. Mam formularz który nie zapisuje wszystkich ilosci akcje_owoce .Wczytuje tylko ostatni .Z tąd moje pytanie.
Jak temu zaradzić żeby wczytać wszystkie pola input na raz.


  1. $akcje_owoce1 = intval(strip_tags($_POST['akcje_owoce']));
  2.  
  3. foreach($akcje_moje_total as $gielda_akcji_total){
  4.  
  5. $htmler.= '<tr bgcolor="black" style="height:35px;font-size:18px;">
  6. <td width="5%">';
  7. $htmler.= $gielda_akcji_total->id_user;
  8. $htmler.= '</td>';
  9. $htmler.= '<td width="10%">';
  10. $htmler.= $gielda_akcji_total->Data_tranzakcji;
  11. $htmler.= '</td>';
  12. $htmler.= '<td width="15%">';
  13. $htmler.= $gielda_akcji_total->user_name;
  14. $htmler.= '</td>';
  15. $htmler.= '<td width="20%">';
  16. $htmler.= $gielda_akcji_total->Nazwa_3;
  17. $htmler.= '</td>';
  18. $htmler.= '<td width="15%">';
  19. $htmler.= $gielda_akcji_total->Kurs_2;
  20. $htmler.= '</td>';
  21. $htmler.= '<td width="15%">';
  22. $htmler.= $gielda_akcji_total->Kurs_1;
  23. $htmler.= '</td>';
  24. $htmler.= '<td width="15%">';
  25. $htmler.= $gielda_akcji_total->Kurs_Z;
  26. $htmler.= '</td>';
  27. $htmler.= '<td width="25%">';
  28. $htmler.= $gielda_akcji_total->Liczba_Tranzakcji;
  29. $htmler.= '</td>
  30.  
  31. <td><input maxlength="3" type="text" name="akcje_owoce[]"" size="2"> Ilość</td>
  32.  


--------------------
Go to the top of the page
+Quote Post

Posty w temacie
- ber32   [MySQL][PHP]Dynamiczne pole tekstowe   6.08.2011, 08:20:46


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 14:32