title: How to remove keys from php array
body: <p>My array is:</p>
  <pre><code>Array(
      2 =&gt; 'Title: Warmly little before cousin sussex entire set Blessing it ladyship.',
      3 =&gt; 'Snippet: Testing',
      4 =&gt; 'Category: Member',
      5 =&gt; 'Tags: little, before, entire',
  )
  </code></pre>
  <p>I want to remove keys 2,3,4 and 5, so that it should become like this:</p>
  <pre><code>Array(
      'Title: Warmly little before cousin sussex entire set Blessing it ladyship.',
      'Snippet: Testing',
      'Category: Member',
      'Tags: little before entire',
  )
  </code></pre>
  <p>My actual array is:</p>
  <pre><code>    Array
      (
      [0] =&gt; Array
          (
              [0] =&gt; Array
                  (
                      [chapter_id] =&gt; 7
                      [version_id] =&gt; 1
                      [chapter_number] =&gt; 1
                      [Topics] =&gt; Array
                          (
                              [0] =&gt; Array
                                  (
                                      [topic_id] =&gt; 8
                                      [content] =&gt; Array
                                          (
                                              [0] =&gt; Array
                                                  (
                                                      [content] =&gt; 
  Far concluded not his something extremity. Want four we face an he gate. On he of played he ladies answer little though nature. Blessing oh do pleasure as so formerly. Took four spot soon led size you. Outlived it received he material. Him yourself joy moderate off repeated laughter outweigh screened. 
  
  
  
                                                      [video] =&gt; /videos/5420acec0c33a1411427564.mp4
                                                  )
  
                                          )
  
                                  )
  
                              [1] =&gt; Array
                                  (
                                      [topic_id] =&gt; 8
                                      [content] =&gt; Array
                                          (
                                              [0] =&gt; Array
                                                  (
                                                      [content] =&gt; 
  Improve him believe opinion offered met and end cheered forbade. Friendly as stronger speedily by recurred. Son interest wandered sir addition end say. Manners beloved affixed picture men ask. Explain few led parties attacks picture company. On sure fine kept walk am in it. Resolved to in believed desirous unpacked weddings together. Nor off for enjoyed cousins herself. Little our played lively she adieus far sussex. Do theirs others merely at temper it nearer. 
  
  
  
                                                      [animation] =&gt; /animation/5420ad255dccc1411427621.png
                                                  )
  
                                          )
  
                                  )
  
                          )
  
                  )
  
              [1] =&gt; Array
                  (
                      [chapter_id] =&gt; 7
                      [version_id] =&gt; 1
                      [chapter_number] =&gt; 1
                      [Topics] =&gt; Array
                          (
                              [0] =&gt; Array
                                  (
                                      [topic_id] =&gt; 9
                                      [content] =&gt; Array
                                          (
                                              [0] =&gt; Array
                                                  (
                                                      [content] =&gt; 
  Full he none no side. Uncommonly surrounded considered for him are its. It we is read good soon. My to considered delightful invitation announcing of no decisively boisterous. Did add dashwoods deficient man concluded additions resources. Or landlord packages overcame distance smallest in recurred. Wrong maids or be asked no on enjoy. Household few sometimes out attending described. Lain just fact four of am meet high. 
  
  
  
                                                      [image] =&gt; /images/5420ac306fb831411427376.JPG
                                                  )
  
                                          )
  
                                  )
  
                              [1] =&gt; Array
                                  (
                                      [topic_id] =&gt; 9
                                      [content] =&gt; Array
                                          (
                                              [0] =&gt; Array
                                                  (
                                                      [content] =&gt; 
  Post no so what deal evil rent by real in. But her ready least set lived spite solid. September how men saw tolerably two behaviour arranging. She offices for highest and replied one venture pasture. Applauded no discovery in newspaper allowance am northward. Frequently partiality possession resolution at or appearance unaffected he me. Engaged its was evident pleased husband. Ye goodness felicity do disposal dwelling no. First am plate jokes to began of cause an scale. Subjects he prospect elegance followed no overcame possible it on. 
  
  
  
                                                      [image] =&gt; /images/5420ac48aa7201411427400.jpg
                                                  )
  
                                          )
  
                                  )
  
                          )
  
                  )
  
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; Array
                  (
                      [chapter_id] =&gt; 8
                      [version_id] =&gt; 1
                      [chapter_number] =&gt; 2
                      [Topics] =&gt; Array
                          (
                              [0] =&gt; Array
                                  (
                                      [topic_id] =&gt; 10
                                      [content] =&gt; Array
                                          (
                                              [0] =&gt; Array
                                                  (
                                                      [content] =&gt; 
  Him boisterous invitation dispatched had connection inhabiting projection. By mutual an mr danger garret edward an. Diverted as strictly exertion addition no disposal by stanhill. This call wife do so sigh no gate felt. You and abode spite order get. Procuring far belonging our ourselves and certainly own perpetual continual. It elsewhere of sometimes or my certainty. Lain no as five or at high. Everything travelling set how law literature. 
  
  
  
  Mr oh winding it enjoyed by b
  
  
  
                                                      [image] =&gt; /images/5420d951b117b1411438929.jpg
                                                  )
  
                                          )
  
                                  )
  
                              [1] =&gt; Array
                                  (
                                      [topic_id] =&gt; 10
                                      [content] =&gt; Array
                                          (
                                              [0] =&gt; Array
                                                  (
                                                      [content] =&gt; 
  Is education residence conveying so so. Suppose shyness say ten behaved morning had. Any unsatiable assistance compliment occasional too reasonably advantages. Unpleasing has ask acceptance partiality alteration understood two. Worth no tiled my at house added. Married he hearing am it totally removal. Remove but suffer wanted his lively length. Moonlight two applauded conveying end direction old principle but. Are expenses distance weddings perceive strongly who age domestic. 
  
  
  
                                                      [video] =&gt; /videos/5420d99cb852e1411439004.mp4
                                                  )
  
                                          )
  
                                  )
  
                          )
  
                  )
  
              [1] =&gt; Array
                  (
                      [chapter_id] =&gt; 8
                      [version_id] =&gt; 1
                      [chapter_number] =&gt; 2
                      [Topics] =&gt; Array
                          (
                              [0] =&gt; Array
                                  (
                                      [topic_id] =&gt; 11
                                      [content] =&gt; Array
                                          (
                                              [0] =&gt; Array
                                                  (
                                                      [content] =&gt; 
  Wrote water woman of heart it total other. By in entirely securing suitable graceful at families improved. Zealously few furniture repulsive was agreeable consisted difficult. Collected breakfast estimable questions in to favourite it. Known he place worth words it as to. Spoke now noise off smart her ready. 
  
  
  
                                                      [image] =&gt; /images/5420d9cfa0a5f1411439055.jpg
                                                  )
  
                                          )
  
                                  )
  
                          )
  
                  )
  
          )
  
  )
  
  </code></pre>
  <p>Is it possible,,please suggest</p>