From 36ddd885bc3c2829f6728e26da11ce695fce73dc Mon Sep 17 00:00:00 2001 From: alopexc0de Date: Sat, 29 Sep 2012 02:11:11 -0400 Subject: [PATCH] fixed font rendering in example code --- mcping.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcping.php b/mcping.php index 2cb7d86..cc966c9 100755 --- a/mcping.php +++ b/mcping.php @@ -9,11 +9,11 @@ Call testserver.php and use the GetServerStatus($ip, $port); function - echo that and done :3 Example:
 include('http://unps-gama.tk/mcping.php?ip=$ip&port=$port')
-	echo "Server: " . $ip . " on port: " . $port . "  is: ";
+	echo "Server: " . $ip . " on port: " . $port . "  is: ";
 	include('http://unps-gama.tk/testserver.php');
 		$status = GetServerStatus($ip, $port);
-			if ($status=="ONLINE") echo "" . $status . "\n";
-			if ($status=="OFFLINE") echo "" . $status . "\n";
+			if ($status=="ONLINE") echo "" . $status . "\n";
+			if ($status=="OFFLINE") echo "" . $status . "\n";
 		echo "motd: " . $srvinfo[0] . "\n";
 		echo "players online: " . $srvinfo[1] . "\n";
 		echo "max players: " . $srvinfo[2] . "\n";