Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP][HTML] Problem z formularzem GET
o2w5n778
post
Post #1





Grupa: Zarejestrowani
Postów: 235
Pomógł: 0
Dołączył: 10.12.2009

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


Witam!
Mam oto taki formularz:
  1. <form method="get" action="">Szukaj: <input type="text" name="search" /><input type="submit" value=" OK "/></form>

Wywołuje on się w adresie index.php?id=users.
Mój problem polega na tym że jak wyślę ten formularz to adres zamiast:
index.php?id=users&search=xxx
Jest:
index.php?search=xxx
Go to the top of the page
+Quote Post
zdemotywowany
post
Post #2





Grupa: Zarejestrowani
Postów: 74
Pomógł: 3
Dołączył: 15.01.2012

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


A niby skąd ma Ci się tam wziąć id=users?
  1. <input type="hidden" name="id" value="users" />
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: 27.08.2025 - 05:20