How to remove particular element form array

Posted by Rahul Mehta on Stack Overflow See other posts from Stack Overflow or by Rahul Mehta
Published on 2010-12-22T09:50:15Z Indexed on 2010/12/22 9:54 UTC
Read the original article Hit count: 550

Filed under:
|

Hi,

I have the following array:

Array
(
    [userid] => 1
    [alias] => rahul
    [firstname] => rahul
    [lastname] => Khan2
    [password] => Ý2jr™``¢(E]_Ø=^
    [email] => [email protected]
    [url] => 4cfe07dbf35d6.jpg
    [avatar_url] => 4cfe07efd2e1c.jpg
    [thumb] => 4cfe07ebc8955.jpg
    [crop_url] => 4cfe07dbf35d6.jpg
    [crop_position] => [100,100,200,200]
    [updatedon] => 0000-00-00 00:00:00
    [createdon] => 0000-00-00 00:00:00
)

I want to remove the element url ,and crop_url How i can i remove these from array.

© Stack Overflow or respective owner

Related posts about php

Related posts about arrays