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.
$time=time();
$sql="SELECT id, time FROM pokupki WHERE id='$id'";
$res=mysql_query($sql);
$row=mysql_fetch_assoc($res);
$izti4a=$row['time']+604800;
if($time>$izti4a)
{
$sql="UPDATE pokupki SET kupeno='0' WHERE id='$id'";
$res=mysql_query($sql);
echo"Вече не сте бояджия";
}
else
{
echo"Вие може да боядисате.....";
}