From e422814a6d39e8e5ef9b8c4b23c1d06fa61c4c6b Mon Sep 17 00:00:00 2001 From: thisfro Date: Tue, 6 Oct 2020 13:49:23 +0200 Subject: [PATCH] try to use printf --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index dee06cc..db43e4a 100644 --- a/index.php +++ b/index.php @@ -8,11 +8,11 @@ $ms = new MineStat("localhost"); if($ms->is_online()) { - echo("

Join on server.thisfro.ch!

"); - echo("

The Server is:

"); + printf("

Join on server.thisfro.ch!

"); + printf("

The Server is:

"); echo("

online

"); echo("

running version

"); - echo("

%s


"), $ms->get_versrion(); + printf("

%s


", $ms->get_versrion()); echo("

Players online

"); echo("

%s / %s

)"), $ms->get_current_players(), $ms->get_max_players(); }