Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Minimalna ilość znków?
bigus
post 4.03.2007, 12:09:31
Post #1





Grupa: Zarejestrowani
Postów: 65
Pomógł: 0
Dołączył: 28.04.2006

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


Szukałem trochę w necie i tutaj ale nie znalazłem odpowiedzi:(

mam taki kod a dokładnie wyszukiwarka
  1. echo "<td align='center' valign='middle'>";
  2. echo "<form action='index.php' name='searchgalform' target='_top' method='post'>";
  3. echo "<input type='hidden' name='option' value='com_datsogallery' />";
  4. echo "<input type='hidden' name='Itemid' value='$Itemid' />";
  5. echo "<input type='hidden' name='func' value='special' />";
  6. echo "<input type='hidden' name='sorting' value='find' />";
  7. echo "<input type='text' size='13' name='sstring' class='inputbox' onblur=\"if(this.value=='') this.value='';\"
  8. onfocus=\"if(this.value=='Search') this.value='Szukaj';\" value='' /></td></tr>";
  9. echo "<tr><td align='center'></td></tr>";
  10. echo "<tr><td class='directorypath' align='center' valign='middle'><input type='submit'
  11. name='searchgalform' class='button' value='Szukaj' /></td>


Jak zrobić żeby minimalna ilość znaków wpisana była np 4 questionmark.gif
bo teraz każdy nawet wpisze spacje i serwer się muli sad.gif

Ten post edytował bigus 4.03.2007, 21:58:08
Go to the top of the page
+Quote Post

Posty w temacie


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: 14.06.2025 - 15:34