how to find string in php?
<pre><code>&lt;form name="search" method="post" &gt;
Input texts and numbers: &lt;input type="text" name="find"&gt;&lt;br&gt;
&lt;/form&gt;
&lt;?php
 if(!empty($_POST)){
   echo $_POST['find'];    
 }
</code></pre>

<p>Question:</p>

<p>I want to <code>echo all the contents before texts</code> (including texts), eg. if user input <code>'mynumber11</code>', then it shows <code>'mynumber'</code>, if user input <code>'123mynumber11'</code>, then it shows <code>'123mynumber'</code>, how to do this?</p>
