Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][HTML]form action w linku
flaq1991
post
Post #1





Grupa: Zarejestrowani
Postów: 89
Pomógł: 0
Dołączył: 11.12.2012

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


Da radę w tej formie zamiast buttona zrobić zwykły link <a href ? tak aby wykonowyał akcję tak samo jak button ? proszę o pomoc z góry dzięki

  1. <form action="logowanie.php" method="post" >
  2. <input type="hidden" name="loginname" size="30" maxlength="30" value='.$r['login'].' readonly="readonly" target="blank">
  3. <input type="hidden" name="loginpassword" size="30" maxlength="30" value='.$r['haslo'].' readonly="readonly">
  4. <button type="submit">Zaloguj</button>
  5. </form>
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
aras785
post
Post #2





Grupa: Zarejestrowani
Postów: 859
Pomógł: 177
Dołączył: 29.10.2009

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


A po co? Zmień style jeśli chcesz uzyskać taki efekt (IMG:style_emoticons/default/smile.gif) Lub
  1. <button type="submit"><a href="">Zaloguj</a></button>
(IMG:style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post

Posty w temacie


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: 24.12.2025 - 18:06