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.
mysql_connect($host,$username,$password) or die("Can not connect to database");
mysql_select_db("cats") or die("Can not connect to database");
$check = "SELECT * FROM categories";
$resultcheck = mysql_query($check) or die("Gre6ka");
mysql_query("SET NAMES cp1251");
while($row = mysql_fetch_array($resultcheck))
{
echo "<center><font color=red size=3>$row[catname]</font></center>
";
}
?>
mysql_connect($host,$username,$password) or die("Can not connect to database");
mysql_select_db("cats") or die("Can not connect to database");
$check = "SELECT * FROM categories";
mysql_query("SET NAMES cp1251");
$resultcheck = mysql_query($check) or die("Gre6ka");
while($row = mysql_fetch_array($resultcheck))
{
echo "<center><font color=red size=3>$row[catname]</font></center>
";
}
Pr0oF каза:Така?Код:mysql_query("SET NAMES cp1251");