Jump to content

Archived

This topic is now archived and is closed to further replies.

mojito

compare two arrays

Recommended Posts

I am looking to see if I can compare two arrays.

Im looking to get a true or false back from looking to see if ALL the values in array 1 are in array 2.

The php site in terms of arrays isnt so clear on this.

thanks

mojito

Share this post


Link to post
Share on other sites
array_diff()

Please post in a more suitable forum next time - the @phpfreaks.com forum is for discussing the phpfreaks site and forum - not for php questions.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.