String Manupulaiton PHP
<p>I have a random string set in each array index.And i want to give them a nice pattern.Better if i explain my problem in an example :
Let my array is like this :</p>

<pre><code>                 Array
                      {
                         [0]=&gt;A Man of with Dignity
                         [1]=&gt;A supplier *Coming*
                         [2]=&gt;Break the "Glasses"
                         [3]=&gt;Broken 'law'
                      }
</code></pre>

<p>I am expecting the out up as :</p>

<pre><code>                     Array
                        {
                              [0]=&gt;a-man-with-dignity
                              [1]=&gt;a-supplier-coming
                              [2]=&gt;break-the-glasses
                              [3]=&gt;broken-law
                        }
</code></pre>

<p>means i want to add "-" in the middle of each word and want them in lower case.And if there is any other special character that must be removed too.</p>

<p>Thanks for reading</p>
