• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[modernAcc].

WibbenZ

Global Moderator
Staff member
Global Moderator
Joined
Oct 16, 2008
Messages
6,383
Solutions
229
Reaction score
1,521
Location
Sweden
PHP:
                      <?php
echo file_get_contents("plans.txt");
                      {
                      else
                      }
                        <b><h4>Sorry, We dont have any plans right now.</h4></b>
                       
                      <br>
                      <br>
?>

that code wont work.. :s

bug
Code:
Welcome { else }
Sorry, We dont have any plans right now.
>?
rep++
 
PHP:
                      <?php
echo file_get_contents("plans.txt");
                      {
                      else
                      
                        <b><h4>Sorry, We dont have any plans right now.</h4></b>
}
                       
                      <br>
                      <br>
?>

I think that's the right code...
 
Code:
<?php
	if($contents = file_get_contents(dirname(__FILE__)."/plans.txt"))
		echo $contents;
	else
	{
?>
	<b><h4>Sorry, We dont have any plans right now.</h4></b><br /><br />
<?php
	}
?>
 
Back
Top