PHP—Empty String Help
<p>The CMS I'm using has a plugin that pulls a series of pages based on how you've tagged those pages. Everything is working fine, but I need to display the number of pages returned after a user sends a query.</p>

<p>The variable that the number of records is stored in is a string. The small script I'm writing tries to check if this string is blank, and if so echo nothing, but if it's not blank echo the number of pages returned.</p>

<pre><code>&lt;?php

if ($count !== ''){
    echo "text";
}

?&gt;
</code></pre>

<p>However, whenever it's passed when the string is supposed to be empty it treats it as if it is not. I'm not sure what I'm doing wrong or what the string contains that it's not empty.</p>

<p>I found a resource about converting strings to integers but it set it to 0. Thanks for any help.</p>
