Re: problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hope this example will help you
$A=array('first','second','third','forth');
$B=array('another','fifth','second','first','hello');
for($i=0;$i<count($A);$i++)
if(in_array($B[$i],$A))
echo "Item found: ".$B[$i];

i am searching one by one item of $B array in array $A

Thanks
Aminul

On Sat, Oct 4, 2008 at 3:37 AM, Sana Alamgeer <sanalmgr47@xxxxxxxxx> wrote:

>   hello all,
> please tell me how to cmpare two lists' items.
> pleassssssssse
> i have been able to find the code in javascript.
> please help me
> regards
>
> SanaAlamgeer
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Md. Aminul Islam
http://www.shopno-dinga.com
Mob: 8801671670797


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux