Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][MySQL][PHP]przechwycenie pola z formularza, jak?
kamil9012
post
Post #1





Grupa: Zarejestrowani
Postów: 71
Pomógł: 0
Dołączył: 7.02.2008

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


Mam takie formularz bez method="POST":
  1. <form id="myform" class="cols">
  2. <h3>HTML5 form with custom inputs</h3>
  3.  
  4. <label> email * <input type="email" required="required" minlength="9" /> </label>
  5. <label> username * <input type="text" name="username" minlength="5" /> </label>
  6. <label> Password <input type="password" name="password" minlength="4" /> </label>
  7. <label> Password check <input type="password" name="check" data-equals="password" /> </label>
  8.  
  9. <div class="clear"></div>
  10.  
  11. <button type="submit">Submit form</button>
  12. </form>


W jaki sposób mogę zapisać dane z tego formularza do bazy mysql?

Wcześniej używałem tego:
  1. $querys=mysql_query("INSERT INTO nazwa_tabeli VALUES ('$_POST[loginas]', '$_POST[name]', '$_POST[lname]'");

no ale teraz POST znika... i co mam zrobić?
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.08.2025 - 04:26