Including strings in class
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5578732/how-can-i-include-php-file-in-php-class">how can i include php file in php class</a>  </p>
</blockquote>



<p>I have a PHP file that starts like this:</p>

<pre><code>&lt;?php

include("strings.php");

class example {
</code></pre>

<p>The strings.php is formatted like this</p>

<pre><code>$txt['something'] = "something";
$txt['something_else'] = "something else";
</code></pre>

<p>My question is, how do I call the <code>$txt['something']</code> inside a method in <code>example</code> class?
I know <code>$this-&gt;txt['something']</code> doesn't work</p>

<p>It's probably basic stuff, but I just started learning PHP</p>
