title: How to conditionally include a file in PHP
body: <p>I have made a website and it works fine..
  But now I want to be able to have non computer minded people be able to change if one line shows up or not..
  I was going to achive this by having  a line of php include</p>
  
  <pre><code>&lt;?php include 'on.php'; ?&gt;
  </code></pre>
  
  <p>and they name the file "on" to have it display the text in the php file this works fine..
  But then when the name it off.. it displays a error (obviously because it cant find anything) but i would like to keep my set up the same but remove the error meassage or maybe have a if statement saying that if it cant find anything do nothing.</p>
  
  <p>How would/should i go about this?</p>