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

Parašė Klysas· 2008 Bir. 14 19:06:39
#1

<?
$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];
?>

Kaip si koda sutvarkyti kad kuriant panele per php fusion nemestu klaidu?

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();
?>

Parašė Gugiss· 2008 Bir. 14 20:06:11
#3

<?php manau, kad nereikia

Parašė MAnjack· 2008 Bir. 14 20:06:32
#4

reikia jeigu dabar kaip .php failą.

Parašė Acer· 2008 Bir. 14 20:06:03
#5

?>
openside("Online players");
$mysql_address="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();
<?