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 Link to comment https://forums.phpfreaks.com/topic/130929-php-date/page/2/#findComment-683370 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.