php array_diff()
array array_diff
( array array1, array array2 [, array
...] )
array_diff()
·µ»ØÒ»¸öÊý×飬¸ÃÊý×é°üÀ¨ÁËËùÓÐÔÚ array1
Öе«ÊDz»ÔÚÈÎºÎÆäËü²ÎÊýÊý×éÖеÄÖµ¡£×¢Òâ¼üÃû±£Áô²»±ä¡£
Ã͵ÄÒ»¿´Õâ¸ö·½·¨£¬»¹ÒÔΪÊǽ«Á½¸öÊý×éÖв»Í¬µÄ·µ»ØÀ´ÄØ£¬ÊÂʵÉϲ»ÊÇ£¬·µ»ØµÄÊÇÔÚarray1Öе쬵«ÊDz»ÔÚÆäËûÊý×éÖеġ£
Ïà¹ØÎĵµ£º
¶ÔÓÚPHP
£¬ºÜ¶àÅóÓѱ§Ô¹·¢Õ¹ÎÊÌâ
£¬ÄÜÁ¦ÎÊÌâ¡£»¹ÓÐ×Ô¼ºÒÔºóµÄ·¢Õ¹¼°Ð½Ë®ÎÊÌâ¡£»¹ÓÐһЩ¿ÚÎǾÍÊÇPHP²»ÐУ¬²»ÊʺϴóÐͼܹ¹µÈµÈ¡£¿ìϰàÁË£¬×÷Ϊһ¸ö¿ª·¢
PHPÒѾ6Äê¶àÁËÀÏÄñ£¬ÔÚÕâÀïËæÒâ˵Éϼ¸¾ä¡£Ï£ÍûÄܶÔÄÇЩ¸Õ¸ÕÈëÃŵÄPHPERÓÐЩ°ïÖú¡£
Ê×ÏÈÈκÎÓïÑÔµÄÄÜÁ¦¹Ø¼üÔÚÓÚ×Ô¼ºµÄ¼¼ÊõÄÜÁ¦¡£·ñÔò¸øÄãÒ»¼Ü²¨Òô ......
·¢²¼Ê±¼ä:2009-11-17 11:15 ¡¡×÷Õß: PHPChina ¡¡ÐÅÏ¢À´Ô´: PHPchina¡¡ ·¢±íÆÀÂÛ
1.Èç¹ûÒ»¸ö·½·¨Äܱ»¾²Ì¬£¬ÄǾÍÉùÃ÷ËûΪ¾²Ì¬µÄ£¬ËÙ¶È¿ÉÌá¸ß1/4;
2.echoµÄЧÂʸßÓÚprint,ÒòΪechoûÓзµ»ØÖµ£¬print·µ»ØÒ»¸öÕûÐÍ;
3.ÔÚÑ»·Ö®Ç°ÉèÖÃÑ»·µÄ×î´ó´ÎÊý£¬¶ø·ÇÔÚÔÚÑ»·ÖÐ;
4.Ïú»Ù±äÁ¿È¥ÊÍ·ÅÄÚ´æ£¬ÌØ±ðÊÇ´óµÄÊý×é;
5.±ÜÃâÊ ......
ÒýÓõØÖ·£ºhttp://club.topsage.com/thread-263331-1-1.html
ѸÀ×רÁ´ PHPÊÓÆµ½Ì³Ì_01µÚÒ»ÕÂÁ˽âPHP
ѸÀ×רÁ´ PHPÊÓÆµ½Ì³Ì_02µÚ¶þÕÂPHPÓï·¨½á¹¹
ѸÀ×רÁ´ PHPÊÓÆµ½Ì³Ì_03µÚÈýÕÂPHPº¯Êý¿â
ѸÀ×רÁ´ PHPÊÓÆµ½Ì³Ì_04µÚËÄÕÂÁ˽âMySQL
ѸÀ×רÁ´ PHPÊÓÆµ½Ì³Ì_ ......
תÌù×Ô: http://hi.baidu.com/isnono/blog/item/3c94ea11a54a0fc7a7ef3f94.html
¾³£ÔÚCSDNµÄPHPÂÛ̳ÉÏ¿´µ½ÓÐÅóÓÑÎÊ´¦ÀíÔÚÏßÓû§µÄÎÊÌâ,ÎÒд¹ýÀàËÆµÄ´úÂë,¾ÍÄóöÀ´Ï׳óÁË,ÓеãÀ¬»ø,»ù±¾ÉÏʵÏÖÁ˹¦ÄÜ, ͬÊÇÒ²Äܹ»À©Õ¹£¬±ÈÈçͬʱֻÔÊÐíÒ»¸öÕʺÅÔÚÏߵȡ£
/*
³ÌÐòÓÃ;£º¼ì²âÔÚÏßÓû§
³ÌÐò×÷Õߣºheiyeluren
д×÷ʱ¼ä ......
/*
* ¹¦ÄÜ£ºPHP
ͼƬˮӡ (ˮӡ֧³ÖͼƬ»òÎÄ×Ö)
* ²ÎÊý£º
* $product_img ±³¾°Í¼Æ¬£¬¼´ÐèÒª¼ÓˮӡµÄͼƬ£¬ÔÝÖ»Ö§³ÖGIF,JPG,PNG¸ñʽ£»
* $waterPos ˮӡλÖã¬ÓÐ10ÖÖ״̬£¬0ÎªËæ»úλÖã»
* &n ......