how to trim quotation marks on a variable?
<p>I'm new to php so please no bullying. I have the following and I can't trim the quotation mrks around the name of my variable. For some reason the following displays "Workaholics", why ? 
I'm using a library to scrape IMDB and all my titles come back with those quotation marks in my $movieArray.</p>

<p>Thanks.</p>

<pre><code> $movieArray["title"] = '"Workaholics"';

 echo trim($movieArray["title"], '"');
</code></pre>

<p>So this works but it doesn't work below:</p>

<pre><code>    $imdb = new Imdb();
    $movieArray = $imdb-&gt;getMovieInfo("Workaholics");
    {
        echo trim($movieArray["title"], '"');
        echo $movieArray["poster"];

    }
</code></pre>

<p>Where  $movieArray["poster"] = '"Workaholics"'... That doesn't work, trim doesn't work either.</p>

<p>Output: </p>

<pre><code>"Workaholics"
</code></pre>
