Follow Me:

Monday 3 February 2014

    By using array_diff() function , we can remove the array values in php
    <?php

   <?php
       $arr_remove = array('Codingslover', 'webslessons', 'meetcity', 
       'eshopoffers','google'); $arr = array_diff($arr_remove, array('webslessons', 'google')); echo "<pre>";print_r($arr_remove); echo "<pre>";print_r($arr); ?>

Categories:

2 comments:


  1. Thanks for posting this useful content, Good to know about new things here, Let me share this, . linux training in pune

    ReplyDelete
  2. Excellent post. Keep updating.I have got some useful information form this article.
    erp in chennai

    ReplyDelete