PHP determines to compare the data in two arrays

time:13-06-22 forum:
  Http://www.wbphp.cn/html/y09/419.html

[code]$q = array (1,2,30,40,50);
$s = array (1,2,4,8,9,9,34,2,12324,3,34343);
$m=array_intersect ($q,); / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / IFF ($s, $m);
print_r ($new); [/code]

get a different record.

prev:Women's 50 yuan phone fee is mistaken fo... next:PHP extracts the numbers in a string
post comment
Notice



approved   Suburb tour welfare! Ji'nan opens 58...   Ji'nan will open 58 tour bus lines. ...   Media undercover tea market explosio...   Will the bonus be divided, which wil...   Before buying a house, buying a hous...
rand   Using Json to realize data exchange ...   PHP verification code landing check   Install.php simple production   Wan net interview PHP written test   PHP automatically identifies links i...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com