Whats wrong with this PHP code?
<pre><code>$regular = explode(',', "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z");
$custom =  explode(',', "y,p,l,t,a,v,k,r,e,z,g,m,s,h,u,b,x,n,c,d,i,j,f,q,o,w");
$albhed1 = str_replace($regular, $custom, $input);?&gt;&lt;div id="hi"&gt;&lt;?php
if($_POST['albhed']){echo $albhed1;}{}
</code></pre>

<p>The issues im having is that when the user clicks send the letter doesn't represent what is should. so if a was typed, it should display y, and if c was typed it should display l. the weird thing is that it works for the letters u,v,w,x,y,z which is i,j,f,q,o,w but not the rest.</p>

<p>$input is being defined:</p>

<pre><code>&lt;textarea name="textarea" id="textarea"&gt;
 &lt;/textarea&gt;
</code></pre>

<p>Does any one have any suggestions?</p>
