is_numeric yardım.

srht0692serhat çiftci

NOT1 :</b><input type="text" name="not1" size=30 boyle bı not1 degıskenı var 3 hanelı en fazla 100 gırılmesını ve harf gırılmemesını ıstıyorum nasıl yapabılırım

2012-11-24 16:28:25

Php

form tipine göre

if(!is_numeric($_POST["not1"]))
{
               echo "Sayı girmediniz !";

 }

if($_POST["not1"] > 100)
{
               echo "Yavaş ol !";

 }

Her programcı birgün Php yi tadacaktır
2012-11-25 11:07:59

phpkodlari.com © 2009 Herkes Php öğrenecek
Eglence ve Oyun: Gamikro