Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
$year = $_POST['year'];
$broi_simvoli = strlen($year);
if (eregi('^[0-9]+$',$year))
{
if ($broi_simvoli == 4)
{
// АКО УСЛОВИЕТО Е ИЗПЪЛНЕНО!
}
else
{
echo "Цифрите трябва да бъдат 4!";
}
}
else
{
echo "Може да въвеждате само цифри!";
}