kenrbnsn Posted November 6, 2008 Share Posted November 6, 2008 Try this: <?php $a = array(1,2,3); $b = array(1); $c = array_diff($a,$b); echo '<pre>' . print_r($c,true) . '</pre>'; ?> Ken Quote Link to comment https://forums.phpfreaks.com/topic/130929-php-date/page/2/#findComment-683370 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.