echo not showing up?

<?php //This is just a sample include("mysql.php"); $query = mysql_query("SELECT * FROM online order by `number`") or die(mysql_error()); $row = mysql_fetch_array($query) or die(mysql_error()); echo '

There is currently '.$row['number'].' players online.

'."\n"; ?>

First, you are using a deprecated extension: http://us1.php.net/manual/en/function.mysql-query.php, second of all you $query isn’t setup right: http://us1.php.net/manual/en/intro.mysqli.php -> Use for help on mysqli.

Sponsor our Newsletter | Privacy Policy | Terms of Service