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.
if ($tochki < 20) {
echo "Новак";
}
$q="SELECT * FROM `to4ki` WHERE `potrebitel`='$potrebitel'";
$rez=mysql_query($q);
while ($row=mysql_fetch_array($rez)){
$points=$row['points'];
if ($points<20){
echo "titla 1";
}
else if ($points>20 and $points<50){
echo "Druga title";
}
else {echo "Ne6to drugo";}
}
<?
$q="SELECT * FROM `points` WHERE `username`='$req_user'";
$rez=mysql_query($q);
while ($row=mysql_fetch_array($rez)){
$points=$row['points'];
if ($points<20){
echo "titla 1";
}
else if ($points>20 and $points<50){
echo "Druga title";
}
else {echo "Ne6to drugo";}
}?>
mysql_connect($host,$server,$password);
<?
$q="SELECT * FROM `points` WHERE `username`='$req_user'";
$rez=mysql_query($q);
while ($row=mysql_fetch_assoc($rez)){
$points=$row['points'];
if ($points<20){
echo "titla 1";
}
else if ($points>20 and $points<50){
echo "Druga title";
}
else {echo "Ne6to drugo";}
}?>