Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP] Przetwarzanie Formularza
poxrimex
post 10.11.2007, 13:00:48
Post #1





Grupa: Zarejestrowani
Postów: 368
Pomógł: 2
Dołączył: 23.09.2007

Ostrzeżenie: (60%)
XXX--


Witam mam problem gdyż plik dodaj.php nie zwraca mi określonej wartości przetworzonej

oto pliki:

Plik index.php
  1. <?php
  2. <center>
  3. <br><big>Księga Go&346;ci</big><br><br>
  4. <div class="news">
  5. <ul>
  6. <li class="naglowek">Dodaj wpis</li>
  7. <li class="tresc">
  8. <form method="post" action="dodaj.php">
  9. Nick: <input name="nick" type="text" /><br />
  10. Treść:<textarea name="pole" cols="30" rows="6"></textarea><br />
  11. <input type="submit" name="b12" value="Prześlij" /><input name="wyczysc" type="reset" value="Wyczyść" />
  12. </form>
  13. </li>
  14. </ul>
  15. </div>
  16. </center>
  17. ?>


Plik dodaj.php:

  1. <?php
  2.  
  3. $nick= $_post['nick'];
  4. $pole= $_post['pole'];
  5.  
  6. echo $nick;
  7. echo $pole;
  8.  
  9.  
  10. ?>


Gdzie siedzi w tym skrypcie błąd? prosze o pomoc smile.gif

Ten post edytował poxrimex 10.11.2007, 13:01:28


--------------------



Go to the top of the page
+Quote Post
in5ane
post 10.11.2007, 13:14:33
Post #2





Grupa: Zarejestrowani
Postów: 1 335
Pomógł: 34
Dołączył: 9.11.2005
Skąd: Wrocław

Ostrzeżenie: (10%)
X----


A jakiś error Ci się wyświetla?


--------------------
> > > Tworzenie stron < < <
Go to the top of the page
+Quote Post
Cysiaczek
post 10.11.2007, 13:29:55
Post #3





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




$_post to nie to samo, co $_POST


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
poxrimex
post 10.11.2007, 13:34:16
Post #4





Grupa: Zarejestrowani
Postów: 368
Pomógł: 2
Dołączył: 23.09.2007

Ostrzeżenie: (60%)
XXX--


A rozumiem dziękuje za odpowiedz smile.gif


--------------------



Go to the top of the page
+Quote Post

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: 12.06.2025 - 15:28