how to convert compare two lowercase strings in php
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6813111/how-to-compare-case-insensitive-two-strings-in-php">how to compare case insensitive two strings in php</a>  </p>
</blockquote>



<p>I need to compare two string here is my code</p>

<pre><code>if(
    (strtolower($UgenderSeek)=="both")
    ? (strtolower($gender)=='male' || strtolower($gender)=='female')
    : strtolower($UgenderSeek)==strtolower($gender)
)
</code></pre>

<p>but it's working for any one me help me</p>
