Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Problem $_POST i tablica
jaro74
post
Post #1





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 29.01.2011

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


Prosze o pomoc.

Mam takie pole formularza
  1. <input value="" size="20" name="customPlugin[65][textinput][comment]" id=" " class="rsform-input-box" type="text">


Dlaczego nie chce mi to zadziałać
  1. $_POST['customPlugin']['65']['textinput']['comment']=$_POST['customPlugin']['65']['textinput']['comment']."AAAA";

Go to the top of the page
+Quote Post
Michael2318
post
Post #2





Grupa: Zarejestrowani
Postów: 651
Pomógł: 116
Dołączył: 3.06.2012
Skąd: Lędziny

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


Dziwne, bo mi działa bez problemu...
  1. <form action="test.php" method="post">
  2. <input value="" size="20" name="customPlugin[65][textinput][comment]" id=" " class="rsform-input-box" type="text">
  3. <input type="submit" name="submit" value="Dalej">
  4. </form>
  5.  
  6. <?php
  7.  
  8. if ( isset($_POST['submit']) )
  9. {
  10. echo $_POST['customPlugin']['65']['textinput']['comment']=$_POST['customPlugin']['65']['textinput']['comment']."AAAA";
  11. }
  12. ?>


Ten post edytował Michael2318 7.04.2013, 15:36:09
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 25.08.2025 - 09:40