Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Match variables? Jak sprawdzać czy input jest taki sam jak var
masterbeat
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 22.09.2014

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


Witajcie, chciałbym się dowiedzieć jak zrobić skrypt który powiedzmy ma 20 var'ów

Przykład:
  1. 1980 - around 4.5 billion
  2. 1981 - around 4.5 billion
  3. 1982 - around 4.5 billion
  4. 1983 - around 4.5 billion
  5. 1984 - around 4.5 billion
  6. 1985 - around 4.5 billion
  7. 1986 - around 4.5 billion
  8. 1987 - around 4.5 billion
  9. 1988 - around 4.5 billion
  10. 1989 - around 4.5 billion
  11. 1990 - around 5 billion
  12. 1991 - around 5 billion
  13. 1992 - around 5 billion
  14. 1993 - around 5 billion
  15. 1994 - around 5 billion
  16. 1995 - around 5 billion
  17. 1996 - around 5 billion
  18. 1997 - around 5 billion
  19. 1998 - around 5 billion
  20. 1999 - around 5 billion
  21. 2000 - around 6 billion
  22. 2001 - around 6 billion
  23. 2002 - around 6 billion
  24. 2003 - around 6 billion
  25. 2004 - around 6 billion
  26. 2005 - around 6 billion
  27. 2006 - around 6 billion
  28. 2007 - around 6 billion
  29. 2008 - around 6 billion
  30. 2009 - around 6 billion
  31. 2010 - around 7 billion
  32. 2011 - around 7 billion
  33. 2012 - around 7 billion
  34. 2013 - around 7 billion
  35. 2014 - around 7 billion


i chciałbym aby użytkownik wpisywał w
  1. <input type="text" class="form-control" id="exampleInputEmail1" placeholder="Year">


np 2008 i by mu się wyświetlił tekst= " around 6 billion"
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: 22.12.2025 - 16:34