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.
$id = abs($_GET['id']);
justspy каза:само дето него abs него спасява.. трябва ти is_numeric тоест :
Код:$id=(int)$_GET['id']; if (!is_numeric($id)) { echo "Това не е id !"; } else { //Кода ти тук .. }
$id=(int)$_GET['id'];
$id=abs($id);
if (!is_numeric($id))
{
echo "Не е числова стойност !";
}
else
{
//Кода ти
}
$id = (int)$_GET['id'];