Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Php fusion l2

Parašė ozzWANTED· 2008 Bir. 14 20:06:57
#2


<?php
openside("Namas");
$mysql_addres="localhost";
$mysql_login="root";
$mysql_password="";
$mysql_database="l2jdb";
mysql_connect($mysql_address,$mysql_login,$mysql_password);
mysql_select_db($mysql_database);
$online=mysql_fetch_row(mysql_query("SELECT COUNT(online) FROM characters WHERE online=1"));
print $online[0];
closeside();
?>