how to convert some character into numeric in php?
<p>dear i need help for change a character in php.
i get some code from web:</p>

<pre><code>char dest='a';
int conv=(int)dest;
</code></pre>

<p>can i use this code for convert character into numeric? or do you have any idea?
i'm just want to show result as decimal number:</p>

<pre><code>if null == 0
if A == 1
</code></pre>
